Heroku Deploy - acremonezi/Projeto-Integrador-em-Computacao-I GitHub Wiki

  1. Steps:
    1. Create a file called Procfile with the content web: gunicorn certification.wsgi
    2. pip install gunicorn
      1. 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
        
    3. pip install django-on-heroku
    4. `import django_heroku
    5. Edit ./certification/settings.py:
      1. Add on top import django_heroku
      2. Add on bottom django_heroku.settings(locals())