Django Deployment Using Heroku Django Starter Template.


If you plan to host your Django website on Heroku, you can start your project using the Heroku Django Starter Template : startproject --template= --name=Procfile YourProjectName

It has Production-ready configuration for Static Files, Database Settings, Gunicorn, etc and Enhancements to Django's static file serving functionality via WhiteNoise. This will save your time, it's All-Ready for hosting on Heroku, Just build your website on the top of this template

To deploy this template on Heroku:

git init
git add -A
git commit -m "Initial commit"

heroku create
git push heroku master

heroku run python migrate

That's it!