[英]Error when running “heroku ps:scale web=1”: “Couldn't find that process type (web).”
[英]Couldn't find that process type (web) error on heroku
我正在尝试将 Django 应用程序部署到 heroku,但在尝试扩展我的应用程序时我不断收到以下错误
heroku ps:scale web=1
错误:
Scaling dynos... !
! Couldn't find that process type (web).
我不明白我在这里做错了什么,我的文件叫做Procfile
,它位于我项目的根目录下,这是我定义它的方式:
简介
web: gunicorn myproject.wsgi --log-file -
按照这个步骤
heroku buildpacks:clear
index
选项heroku buildpacks:add
再次添加它们push
更改或者一步一步地尝试这个
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.