https://github.com/samedwardes/hello-world-dash-app
Simple dash app using dash, heroku, flask, and MTCars data.
https://github.com/samedwardes/hello-world-dash-app
Last synced: over 1 year ago
JSON representation
Simple dash app using dash, heroku, flask, and MTCars data.
- Host: GitHub
- URL: https://github.com/samedwardes/hello-world-dash-app
- Owner: SamEdwardes
- Created: 2019-09-03T00:12:31.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-03T01:48:47.000Z (almost 7 years ago)
- Last Synced: 2025-02-12T17:50:03.226Z (over 1 year ago)
- Language: Python
- Homepage: https://hello-world-dash-app.herokuapp.com/
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Background
This is a simple dash web app deployed on heroku. The app uses dash, flask, and the MTCars data set.
[https://hello-world-dash-app.herokuapp.com/](https://hello-world-dash-app.herokuapp.com/)
## Resources
- [Guide from dash](https://dash.plot.ly/deployment) for full details.
- [YouTube video](https://www.youtube.com/watch?v=9VXrWKrNuoU) Short YouTube video (5 min) I found helpful explaining how to deploy python apps to Heroku.
## Environment
Use the following code with terminal to create the appropriate environment.
```
conda create --name hello-world-dash-app-env python=3.6.8
conda activate hello-world-dash-app-env
pip install pandas
pip install dash
pip install gunicorn
```
*I originally used conda to install the libraries but for some reason that resulted in deployment errors. When using pip to install everything worked.*
Save the requirements using pip and conda
```
pip freeze > requirements.txt # used by Heroku
conda list --export > requirements-conda.txt # you can re-use this to create virtual environment with conda
```