django-admin startproject --template https://github.com/jankuzma/django-template/archive/refs/heads/template.zip <project_name> <directory>
- create pipenv environment
pipenv install
thenpipenv 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_key
get_random_secret_key()
- setup
.env
file based on.env-default
file in theenv/
directory - if db is setup run
python manage.py migrate
as the migrations are already prepared - static files
python manage.py collectstatic
- finally
python manage.py runserver
to run the server