The definitive guide to deploying Django applications on Heroku.
Deploying Django is hard work. No matter how much experience you have, deployment is always a difficult task as it involves so many factors. Among other things, you have to:
Luckily for us, Heroku has built an incredibly simple, elegant, and scalable platform that makes deploying your Django websites as painless as possible.
The goal of this site is to help you get up and running as quickly as possible, while teaching you the basics along the way. My hope is that you’ll find this site useful, and that it will provide you with enough information to not only deploy your Django sites, but also to maintain, grow, and scale them to support millions of users.
This site is still under rapid development. Please send any suggestions (or requests) to email@example.com.
Unfortunately, since deployment is such a broad topic, this book isn’t suited for everyone. To keep things reasonably simple throughout this book, I’m going to make the following assumptions:
If you’re a new Python or Django programmer, and you haven’t yet written a website of your own, please read through the following books (in order) and then return to this one, as you’ll be a whole lot more knowledgeable and will be able to fully understand the concepts explained here:
If you prefer a more visual learning aid, try the Go Django screencasts.
Reading through those books in order is enough to take any programmer (regardless of skillset) from beginner to pro.
Now that we’ve got that out of the way, let’s deploy some Django!