#Time Sync
- Install Python Virtual env
apt install python3-env
or
pip install virtualenv
2.Create Virtual environment
virtualenv
copy project folder in virtual environment or clone repo directly in virtual environment
- Activate virtual environment
source bin/activate
source script/activate
- Install required packages
pip install -r requirements.txt
-
create .env file in root directory and copy data from template.env file
-
make migrations and migrate
python manage.py makemigrations && python manage.py migrate
- create superuser
python manage.py createsuperuser
- run server
python manage.py runserver