
Alternatively, you can use a ready-made sample project that you’ll find later. The first step will walk you through scaffolding a new Django project to get you started quickly.
Don’t worry if you don’t have any Django projects on hand. While Heroku supports various languages and web frameworks, you’ll stick to Python and Django. This tutorial isn’t so much about building any particular project, but rather hosting one in the cloud using Heroku. To follow along, you can download the code and other resources by clicking the link below: Manage the configuration along with sensitive data.
Hook your Django project up to a standalone relational database. Use a Django-Heroku integration library. Deploy your project to Heroku using Git. Take your Django project online in minutes. It ticks all the boxes-it’s free, quick to set up, user-friendly, and well-integrated with Django-and is the favorite cloud platform provider of many startups. There are a few major cloud platform providers operating in different models, but you’re going to explore Heroku in this tutorial. While GitHub Pages is perfect for hosting static websites and websites with JavaScript, you’ll need a web server to run your Flask or Django project. To differentiate yourself from the crowd and boost your chances of getting noticed, you can start hosting your Django project online.įor a hobby Django project, you’ll want a hosting service that’s free of charge, quick to set up, user-friendly, and well-integrated with your existing technology stack. Many coding bootcamp graduates are likely doing the same thing.
Perhaps, you’re hoping to attract technical recruiters to land your first programming job. Watch it together with the written tutorial to deepen your understanding: Host Your Django Project on HerokuĪs a novice web developer, you’ve built your portfolio app and shared your code on GitHub. Watch Now This tutorial has a related video course created by the Real Python team.