This demo uses Python 3.7 and Django 2.2
$ python3.7 -m venv .venv
$ ./.venv/bin/pip install -r requirements.txt
$ ./.venv/bin/python manage.py migrate
$ ./.venv/bin/python manage.py loaddata goodreads
If the virtual environment .venv
doesn't exist yet, create one:
$ python3.7 -m venv .venv
Afterwards, ensure all dependencies are installed:
$ ./.venv/bin/pip install -r requirements-dev.txt
The code is formatted using black.
$ ./.venv/bin/black .