Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 445 Bytes

readme.md

File metadata and controls

23 lines (12 loc) · 445 Bytes

###Steps

  • Create Procfile with web: gunicorn -b 0.0.0.0:$PORT app:app

  • Run virtualenv venv

  • Run source venv/bin/activate

  • Run pip install flask (no sudo needed)

  • Run pip install gunicorn

  • Run pip install flask-sqlalchemy

  • Run pip freeze > requirements.txt

  • Add psycopg2 to the end of requirements.txt

  • Run heroku create --stack cedar

  • Run heroku addons:add shared-database

  • Run git push heroku master