- Install pipenv -
sudo pip install pipenv
- Install django
pipenv install django==3.0.3 gunicorn --python 3.8.1
- Small note to self - look into gunicorn advantages over
python manage.py runserver
pipenv shell
clear
Just so you have a nice fresh shellpip freeze
- use this to show your installed modules
django-admin startproject cfehome
- where cfehome is the project namepython manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
- Add the following
DEBUG = int(os.environ.get('DEBUG', default=1))
to cfehome/settings.py - commenting the previous DEBUG variable.