Over a million developers have joined DZone.

Getting Django Onto Heroku; Automating Deploy With Fabric

· Cloud Zone

Build fast, scale big with MongoDB Atlas, a hosted service for the leading NoSQL database on AWS. Try it now! Brought to you in partnership with MongoDB.

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

Now it's easier than ever to get started with MongoDB, the database that allows startups and enterprises alike to rapidly build planet-scale apps. Introducing MongoDB Atlas, the official hosted service for the database on AWS. Try it now! Brought to you in partnership with MongoDB.

Topics:

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

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

{{ parent.tldr }}

{{ parent.urlSource.name }}