This project deploys data dashboard to web
I. Data: This folder contains UNdata_Export_20200922_021257174.csv
II. myapp: This folder contains following file/folders:
i. templates: this fodler contains index.html file
ii. static/img: contains logo of lindedIn and GitHub
iii. routes.py
iv. __init__.py
Go to www.heroku.com and create an account if you haven't already.
pip3 install virtualenv
virtualenv --python=/usr/bin/python3 venv
source venv/bin/activate
pip install flask pandas plotly gunicorn
curl https://cli-assets.heroku.com/install-ubuntu.sh | sh
https://devcenter.heroku.com/articles/heroku-cli#standalone-installation
heroku --version
heroku login -i
and then enter your email and password when asked
cd DeployDataDashboard
> touch Procfile
and put the following in the Procfile
> web gunicorn worldbank:app
pip freeze > requirements.txt
git init
git add .
git config --global user.email [email protected]
git config --global user.name "john"
git commit -m "first commit"
heroku create undatadash
If you get a message that the app name is already taken, try again with a different app name until you find one that is not taken.
git remote -v
git push heroku master
Check: https://undatadash.herokuapp.com/