-
Notifications
You must be signed in to change notification settings - Fork 233
Installation
If you wish to enjoy its remarkable features and benefits, follow these simple steps to install the application on your preferred platform.
Django is a high-level Python web framework that enables rapid development of secure and scalable web applications. It is a popular choice among web developers due to its scalability, flexibility, and its ease of use.Prerequisites:
Before installing Django, you need to ensure that you have the following software installed on your Windows system:
- Python 3.x or later
- pip package manager
python -m ensurepip --default-pip
- Open your command prompt
- Type the following command
pip install Django
- Press Enter and wait for Django to be installed. This may take a few minutes.
- Verifying the Django installation
django-admin --version
Follow the steps below to install Horilla:
- Clone the Horilla repository
git clone https://github.com/horilla-opensource/horilla.git
- Install the required Python packages
cd horilla
pip install -r requirements.txt
- Setup the database
python manage.py makemigrations
python manage.py migrate
- Create the admin employee user
python manage.py createhorillauser
- Run the Horilla application
python manage.py runserver
Congratulations! You have successfully installed and set up Horilla on your system.
- Update and upgrade your system
sudo apt update
sudo apt upgrade
- Install Python and Pip
sudo apt install python3 python3-pip
- Install Django
sudo pip3 install django
- Verify the Django installation
django-admin --version
- Clone the Horilla repository
git clone https://github.com/horilla-opensource/horilla.git
- Install the required Python packages
cd horilla
pip install -r requirements.txt
- Setup the database
python3 manage.py makemigrations
python3 manage.py migrate
- Create the admin employee user
python3 manage.py createhorillaauser
- Create the admin employee user
python3 manage.py createhorillaauser
- Run the Horilla application
python3 manage.py runserver
Congratulations! You have successfully installed and set up Horilla on your system.
By default an SQLite3 database will be created. If you wish to change the database to any other, use this reference.Before installing Django and Horilla in your system, make sure that you have python installed on your system.
You can download the latest version of Python from the official website :
https://www.python.org/downloads/macos/
After python is installed, lets proceed with the installation of Django.
- Install Django
pip install Django
- Verify the installation
django-admin --version
- Clone the Horilla repository
git clone https://github.com/horilla-opensource/horilla.git
This will clone the Horilla repository to your system.
- Install the required Python packages
cd horilla
pip install -r requirements.txt
- Setup the database
python3 manage.py makemigrations
python3 manage.py migrate
- Create the admin employee user Next, you need to create an admin user for the Horilla application. Run the following command to create an admin user:
python3 manage.py createhorillauser
- Run the Horilla application
python3 manage.py runserver
This will start the Horilla application on your local server. You can access the application by opening your web browser and navigating to http://localhost:8000/.
Congratulations! You have successfully installed and set up Horilla on your system.