- Create
secrets/django.yml
and populate it based on the template (django.template.yml
) - Set the environment variable
DJANGO_SECRET_FILE
accordingly
$ export DJANGO_SECRET_FILE=../secrets/django.yml
3a. Setup a python virtual environment
$ cd django
$ python3 -m venv venv
$ source venv/bin/activate
3b. Install python dependencies
$ python3 -m pip install -r requirements.txt
- Setup the sqlite database
$ python3 manage.py migrate
- Run the webserver
$ DJANGO_DEBUG=true python3 manage.py runserver
- Navigate to localhost:8000