Skip to content

wojtekerbetowski/flask-heroku-sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

###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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 89.4%
  • HTML 10.6%