I'm trying to deploy an app on Heroku. The build goes fine, but I get an Application error
upon going to the site. In the Heroku logs, I see the error
bash: line 1: guncicorn: command not found
Here is the Procfile:
web: guncicorn <DJANGO_PROJECT_FOLDER>.wsgi
heroku buildpacks:clear
heroku buildpacks:add --index heroku/python
heroku ps:scale worker=1
I've tried effectively everything in this thread to no avail, including
- opening a bash shell with
heroku run bash
, uninstalling and reinstalling everything inrequirements.txt
. I can see a line that saysRequirement already satisfied: gunicorn==20.1.0
. - running
pipenv install -r requirements.txt
so I can deleterequirements.txt
(some people said Heroku prefersPipenv
files now?) but that failed
If relevant, I am using this buildpack, but the only thing not in the subdirectory that I use for the build are miscellaneous markdown files (READMEs etc.). I have only a requirements.txt
file and not a Pipfile
or Pipfile.lock
file.
If anyone has any advice it would be greatly appreciated! I am completely at a loss.
CodePudding user response:
There was a typo in the Procfile as pointed out by @Chris!