Black Lives Matter. Please consider donating to Black Girls Code today.

Deploying app to Heroku

Hi,

I recently built an app and followed all the steps in deployment to a free heroku account. Created my virtenv,requirements file,Procfile and gitignore file but have been having error when i try to deploy the file to heroku. I run with heroku ps:scale web=1 # run the app with a 1 heroku “dyno”,but i still keep getting an error saying .

Scaling dynos… !
! Couldn’t find that process type (web).

Error log:
2019-10-31T13:54:56.344597+00:00 heroku[router]: at=error code=H14 desc=“No web processes running” method=GET path="/favicon.ico"

Can anybody help me debug this error.

This error code indicates your Procfile may have an issue. I would set it to the following w/o any comments (not sure if your post indicates this or nor)

heroku ps:scale web=1

Also, make sure this file is at the root level of your app and it’s permissions allow read for all.
Hopefully this solves your problem…

Make sure your Procfile is spelled correctly and not a text file