Closed DMASCoreDeclan closed 9 months ago
Instructions: pip3 install Django~=4.2.1 pip3 freeze --local > requirements.txt
Result: Successfully installed Django-4.2.9 asgiref-3.7.2 sqlparse-0.4.4
Commit for Django Commit for Heroku
blogstar did not deploy, I changed DEBUG to True and redeployed, Procfile was incorrect, it had: web: gunicorn my_project.wsgi instead of: web: gunicorn blogstar.wsgi
The app now deploys on Heroku:
As Django 4.2 requires Postgress 12 or above and postgress 12 or above is no longer available from ElephantSQL. With tutor assistance I downgraded Django from 4.2 to 3.2
As a Developer I can use Django so that develop my PP4 project
CI Gitpod Steps CI Heroku Steps
Acceptance criteria 1 -[x] Django works on Gitpod
Acceptance criteria 2 -[x] Django works on Heroku