PyCon 2016 in Portland, Or
hills next to breadcrumb illustration

Sunday 1:30 p.m.–3 p.m.

Heroku 101: Deploying Python Web Applications to Heroku

Kenneth Reitz


A crash course on deploying Python applications to Heroku. We'll take a pre-made Django app, spin it up locally, then deploy it to Heroku. We'll then go over the tools that Heroku provides for managing your applications.


This tutorial will present a hands-on, step-by-step process of deploying Python applications to Heroku. Topics covered: * A brief history of web application deployment * An in-depth overview of the Twelve-Factor application methodology * An explanation of Heroku’s place in the deployment ecosystem * Local development environment setup and configuration * The step-by-step process of deploying a simple Django application to Heroku * An overview of Heroku management tools and services Prerequisites — This tutorial assumes these basic prerequisites: * POSIX development environment (OSX, Linux) * Working knowledge of Web Frameworks * Working knowledge of Python * Working knowledge of Git * Windows users are welcome to attend the tutorial, but this is only recommended for users familiar with using Git and Python in that environment. I will try to be accommodating as possible to newcomers, but not at the expense of the other attendees.