Deploy Django Web Application to Heroku

Prerequisites:

  • Git Installation Guide
  • Heroku CLI Installation Guide

Step 1:

git initgit add .git commit -m "initial commit"git push origin master

Step 2:

heroku creategit remote -v - (To check whether you have correctly set the remote)
heroku git:remote -a your_heroku_app_name

Step 3:

Step 4:

Step 5:

heroku login

Step 6:

git push heroku master

Well-done! You have just deployed your Django project on Heroku.

References

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Kalana Tebel

Kalana Tebel

A Computer Science enthusiast. Software Engineer. Full Stack developer. Music Lover