Installation using Shell
You can also run the Horilla application using a shell script.
Windows
For Windows: Click Here To Download
- Download the install.bat file from the link.
- Open a command prompt window and navigate to the directory where the install.bat file is located.
- Run the install.bat file by typing install.bat and pressing Enter.
horilla_install_windows.bat
- The installation process will begin, and you may be prompted to enter information. Follow the prompts and enter the necessary information.
If everything runs correctly, the server will be started automatically and you can access the Horilla app by going to http://localhost:8000/
You can also run the server, by going to the Horilla directory and running the command:
python manage.py runserver
Ubuntu & macOS
For Ubuntu: Click Here To Download
For macOS: Click Here To Download
After the file is downloaded, unzip the file and open the terminal from the current directory where the file is extracted and run the following commands.
- Add the necessary permission for the file to run.
chmod +x horilla_install_ubuntu.sh #for Ubuntu
OR
chmod +x horilla_install_macOS.sh #for macOS
- Run the install.sh file by typing ./install.sh and pressing Enter.
./horilla_install_ubuntu.sh #for Ubuntu
OR
./horilla_install_macOS.sh #for macOS
If everything runs correctly, the server will be started automatically and you can access the Horilla app by going to http://localhost:8000/
You can also run the server, by going to the Horilla directory and running the command:
python manage.py runserver
Note:
- By default the demo database will be loaded, which will be having an admin user already created with the username and password admin and admin respectively.
- If you want to start with a fresh database, you can go to horilla/settings.py where you will find the configuration for changing the database.
-
DATABASES = { "default": { "ENGINE": "django.db.backends.sqlite3", "NAME": BASE_DIR/"TestDB_Horilla.sqlite3", } }
- Change the name of TestDB_Horilla.sqlite3 to the name of your need (make sure that the file format is sqlite3)
-
- To run the server, you can make use of the command
python manage.py runserver