Answers for "flask heroku procfile"

1

flask heroku procfile

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'
Posted by: Guest on July-30-2021

Python Answers by Framework

Browse Popular Code Answers by Language