Heroku Deploy - acremonezi/Projeto-Integrador-em-Computacao-I GitHub Wiki
- Steps:
- Create a file called
Procfile
with the contentweb: gunicorn certification.wsgi
pip install gunicorn
-
Collecting gunicorn Using cached gunicorn-20.1.0-py3-none-any.whl (79 kB) Requirement already satisfied: setuptools>=3.0 in ./venv/lib/python3.8/site-packages (from gunicorn) (44.0.0) Installing collected packages: gunicorn Successfully installed gunicorn-20.1.0
-
pip install django-on-heroku
- `import django_heroku
- Edit ./certification/settings.py:
- Add on top
import django_heroku
- Add on bottom
django_heroku.settings(locals())
- Add on top
- Create a file called