将Django应用程序部署到Heroku:H14-没有网络测功机运行

时间:2020-05-07 17:09:11

标签: django heroku

按照“入门”文档,我已经在heroku上成功部署了我的应用。

部署结束后,我输入:heroku ps:scale web=1。 但是作为回报,我得到了:Scaling dynos... ! ▸ Couldn't find that process type (web).

我打印了日志,得到了:

2020-05-07T16:55:45.691324+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=thawing-retreat-70669.herokuapp.com request_id=08bf5ac4-dc36-404d-98a3-dd3434084a44 fwd="90.2.155.70" dyno= connect= service= status=503 bytes= protocol=https

还有heroku ps

 Free dyno hours quota remaining this month: 548h 53m (99%)
    Free dyno usage for this app: 0h 0m (0%)
    For more information on dyno sleeping and how to upgrade, see:
    https://devcenter.heroku.com/articles/dyno-sleeping

No dynos on ⬢ thawing-retreat-70669

我读到它可能是我的Procfile;我有一个写着:

web: gunicorn pur_beurre.wsgi --log-file-

我检查了背包,我得到了:

heroku/python

0 个答案:

没有答案