Activate a virtual environment in python using:
python3 -m venv venv
source venv/bin/activate
For debian based distro, in virtual evironment terminal type
pip install -r requirements.txt
Create a PostgresSQL database.
Then cp .env.example .env
and change .env
file according to your need.
Inside project directory type
python manage.py migrate
python manage.py collectstatic
python manage.py runserver