I'm trying to deploy a Django application to heroku, but i keep getting the following error when trying to scale my application
heroku ps:scale web=1
Error:
Scaling dynos... !
! Couldn't find that process type (web).
I don't understand what am i doing wrong here, my file is called Procfile
, it is located at the root of my project, here is how i defined it:
Procfile
web: gunicorn myproject.wsgi --log-file -
follow this steps
heroku buildpacks:clear
index
option heroku buildpacks:add
push
the changesOR try this one step by step
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.