/Postgresql_Dash_Django

This is an example of deploying a Django website with a DASH web app. The website is hosted via Heroku.

Primary LanguagePython

Intro Banner

Django-Plotly-Dash

Follow along with this Free Step by Step Tutorial Video:

Full Tutorial Video

Learn More on Django, Plotly & Dash on my Full Course:

Full Udemy Course

How to Install

  • Create an virtual env

    1. Check if you have a virtual env virtualenv --version
    2. (Not Installed) Dont see a version number? run sudo pip install virtualenv
    3. (Installed) Make a folder within the highest file of the project mkdir ~/env
    4. run virtualenv ~/env/my_new_app
    5. cd into the bin folder cd ~/env/my_new_app/bin
    6. activate the env source activate
  • pip install -r requirements.txt

  • Create a Postgres Database & connect it within the plotly_django_tutorial.py settings

  • python manage.py makemigrations

  • python manage.py migrate

  • python manage.py runserver

Finished Picture

Finished Project

Useful Links

django-plotly-dash

[Postgres](https://www.postgresql.org/)

[Bootstrap Theme Used](https://startbootstrap.com/themes/sb-admin-2/)

[Plotly](https://plot.ly/python/)

[Dash Docs](https://dash.plot.ly/)

### Still Have Questions?

cryptopotluck.com

cryptopotluck Discord