![](/img/trans.png)
[英]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.