Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.06 KB

README.md

File metadata and controls

36 lines (23 loc) · 1.06 KB

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: