django-admin startproject --template https://github.com/jankuzma/django-template/archive/refs/heads/template.zip <project_name> <directory>
- create pipenv environment
pipenv installthenpipenv shell - configure the pipenv interpreter in python interpreter set base interpreter as the path to your pipenv python3 executable
- generate django secret key using the
get_secret_key()method in python consolefrom django.core.management.utils import get_random_secret_keyget_random_secret_key() - setup
.envfile based on.env-defaultfile in theenv/directory - if db is setup run
python manage.py migrateas the migrations are already prepared - static files
python manage.py collectstatic - finally
python manage.py runserverto run the server