Over a million developers have joined DZone.

Getting Django Onto Heroku; Automating Deploy With Fabric

DZone's Guide to

Getting Django Onto Heroku; Automating Deploy With Fabric

· Cloud Zone ·
Free Resource

Discover a centralized approach to monitor your virtual infrastructure, on-premise IT environment, and cloud infrastructure – all on a single platform.

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

Learn how to auto-discover your containers and monitor their performance, capture Docker host and container metrics to allocate host resources, and provision containers.


Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}