I am deploying on heroku a website but I am experiencing some issue.
My project is called mysite-project
.
I did the following:
1) Create a Procfile containing:
web: gunicorn mysite-project.wsgi
at the base root of my project (same level where manage.py is).
2) app/settings.py
import django_heroku
at the top
django_heroku.settings(locals())
at the bottom of settings.py
3)
pip install gunicorn
pip install django-heroku
pip freeze > requirements.txt
4) If I run python manage.py runserver
I get:
ModuleNotFoundError: No module named 'django_heroku'
psycopg2
:error: command 'gcc' failed with exit status 1
I'm using Mac running Catalina. – Bubalo