DMASCoreDeclan / pp4-django-blog

0 stars 0 forks source link

Configure Project settings and Deploy to Heroku #21

Closed DMASCoreDeclan closed 9 months ago

DMASCoreDeclan commented 9 months ago

As a Developer I can connect and deploy the repository https://github.com/DMASCoreDeclan/pp4-django-blog to https://dashboard.heroku.com/apps so that I can share my private workspace developments with the world!

DMASCoreDeclan commented 9 months ago

Create app on Heroku

https://dashboard.heroku.com/apps Image

Configure config Vars on Heroku

https://dashboard.heroku.com/apps/pp4-django-blog/settings Image

Create Procfile on workspace

Image

Install gunicorn on workspace

Command: pip3 install gunicorn~=20.1 Result: Successfully installed gunicorn-20.1.0

Add gunicorn to requirements.txt

Command: pip freeze --local > requirements.txt Result: Image

Commit changes to Github

https://github.com/DMASCoreDeclan/pp4-django-blog/commit/2eec6848ae70b6db1abbf8b429225f5210479b99

Connect Github repository to Heroku

Image

Deploy on Heroku

Image

https://pp4-django-blog-ebbdb8a34ef2.herokuapp.com/blog/

Result: Image

Success Django deployed on Heroku!