petrugio / lovely-smiles-dental

0 stars 1 forks source link

Issue: Early deployment to Heroku #5

Closed petrugio closed 2 years ago

petrugio commented 2 years ago
- Task 1 - Create Heroku app
- Task 2 - Attach the PosgreSQL database to the Heroku app
- Task 3 - Prepare environment and settings.py files
- Task 4 - Add WhiteNoise library configuration to settings.py file
- Task 5 - Add new SECRET_KEY to settings.py and to Heroku
- Task 6 - Connect PosgreSQL database in the settings.py
- Task 6 - Make database migration
petrugio commented 2 years ago

For some reason gunicorn was not installed when Django 4.1.1 was installed, hence it was not working when deployed to Heroku. Fixed - by installing gunicorn and redeploy.