【发布时间】:2020-02-18 12:29:10
【问题描述】:
我正在尝试在 Heroku 上托管 Python\Django 应用程序。我按照 heroku 网站上的指南进行操作,但是当我执行“heroku ps:scale web:1”行时,它会返回以下消息:
⬢ salty-brushlands-45215 上没有进程类型。
▸ 上传 Procfile 以添加流程类型。
▸ https://devcenter.heroku.com/articles/procfile
我已经尝试将 Procfile 提交到我的项目中(正在寻找解决方案),但我不知道其中是否需要任何配置。请帮忙!
【问题讨论】:
-
你的 Procfile 里面有什么?
-
添加您的个人资料代码内容