In the directory, you can run:
#Installs pipenv
pip3 install pipenv
#Creates virtual environment
pipenv shell
#Installs all dependencies
pipenv install
#Runs server
python manage.py runserver
#Runs migrations
python manage.py migrate
Remove existing erd.dot and erd.png files and install pyparsing and pydot
pip3 install django-extensions
pip3 install pyparsing pydot
In the app directory run the following:
python manage.py graph_models -a > erd.dot
python manage.py graph_models -a > erd.dot && python manage.py graph_models --pydot -a -g -o erd.png