Tutorial: https://www.youtube.com/watch?v=psvU4zwO3Ao&list=WL&index=6&t=2667s Bootstrap theme: https://startbootstrap.com/theme/sb-admin-2 Library: https://pypi.org/project/django-plotly-dash/ https://django-plotly-dash.readthedocs.io/en/latest/installation.html
CREATE DATABASE django_dash OWNER postgres;
pip3 install pipenv
pipenv install django
pipenv shell
django-admin startproject <name> .
python manage.py runserver <port>
python manage.py makemigrations
python manage.py migrate
Do NOT add static files directly at the top level 'static' folder. Add them to a 'static' subdirectory inside the app first and then run:
python manage.py collectstatic