📜  flask heroku procfile - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:05.479000             🧑  作者: Mango

代码示例1
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'