Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

flask heroku

If u get "No web processes running" Error, Make Sure:
  1. your main file is 'app.py' and your main func is app [ app = Flask(__name__), app.run() ]
  2. you added gunicorn==20.1.0 to your requirements.txt file
  3. you have Procfile with the following line 'web: gunicorn app:app'
 
PREVIOUS NEXT
Tagged: #flask #heroku
ADD COMMENT
Topic
Name
6+2 =