Over a million developers have joined DZone.
Platinum Partner

Getting Django Onto Heroku; Automating Deploy With Fabric

· Cloud Zone

The Cloud Zone is brought to you in partnership with Iron.io. Discover how Microservices have transformed the way developers are building and deploying applications in the era of modern cloud infrastructure.

The "Real Python! Blog" has a new tutorial up about how to migrate an example Django application to Heroku and automate the deployment process with Fabric.  The app is a simple message system and the database is MySQL.  It even shows you how to convert to PostgreSQL, which is the default Heroku database.

The tutorial additionally shows you how to set up Amazon S3 storage for the app.  When it's all said and done, you've got got the same ease of use that a Rails app has in deploying to Heroku.  Just type the magic words: $ git push heroku master

The Cloud Zone is brought to you in partnership with Iron.io. Learn how to build and test their Go programs inside Docker containers.

Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}