【问题标题】:Heroku error during Django website deploymentDjango网站部署期间的Heroku错误
【发布时间】:2021-05-04 22:15:49
【问题描述】:

在尝试解决所有步骤之后,我仍然收到此错误。 谁能帮帮我。

这是从我的 PowerShell 获得的错误

heroku ps:scale web=1
Scaling dynos... !
 !    Couldn't find that process type (web).
Scaling dynos... !
 !    Couldn't find that process type (web).

这是位于我的根目录中的 Procfile 的内容:

��web :  gunicorn grouppublishingindia.wsgi --log-file -

我从浏览器收到的错误:

【问题讨论】:

    标签: python-3.x django heroku


    【解决方案1】:

    确保 Procfile 位于存储库的根目录中。

    如果您的 procfile 拼写错误,例如“procfile”或“ProcFile”等,可能会发生这种情况。文件名应为“Procfile”(大写 P)。

    From elons answer.

    【讨论】:

      猜你喜欢
      • 2019-12-05
      • 2015-04-28
      • 2016-12-21
      • 2020-07-14
      • 2018-12-11
      • 2016-08-26
      • 2022-07-11
      • 1970-01-01
      • 2020-04-22
      相关资源
      最近更新 更多