deploy-flask-heroku
building flask with virtualenv
- install virtualenv
|
|
- setup a project with virtualenv
|
|
- activate your project
|
|
- install flask
|
|
- create app.py
|
|
- run your app
|
|
deploy to heroku
- install gunicorn
|
|
- add a requirements.txt
|
|
- add a runtime.txt to specify your python version
|
|
- create a Procfile (app:app the first app should your python file name)
|
|
- git & heroku
|
|