1. Copy Procfileand change flask-learn.py to your file
  2. Copy runtime.text and requirements.text
  3. in terminal cd to your app
  4. In terminal `heroku create
  5. git push heroku master (use this to update the app)
  6. `heroku open
  7. Make sure app run in your file is like this:
from os import environ
app.run(host='0.0.0.0',debug=True, port=environ.get("PORT", 5000))

(so it can take the port it needs)

  1. DONE!!!!