/HerokuFlask

Simple Python Flask Web App on Heroku

Primary LanguagePython

Simple Python Web App for Heroku

Install

sudo pip install heroku gunicorn flask

Setup Git

git init
git add requirements.txt Procfile app.py  
git commit -am "init"  

Setup Heroku

heroku login
heroku git:remote -a flaskapp01

Push to Heroku

git push heroku master

Run App Locally:

export FLASK_APP=app.py
flask run --host=0.0.0.0 --port=8080

Files: