Hanzo
Hanzo is a sharp tool to handle deployments in multiple environments on Heroku.


Installation

Add this line to your application’s Gemfile:

gem 'hanzo'

Usage

Create an .heroku-remotes file at the root of your app.

qa: heroku-app-name-qa
staging: heroku-app-name-staging
production: heroku-app-name-production

Install remotes

> bundle exec hanzo install

-----> Creating git remotes
       Adding qa
       Adding staging
       Adding production

Install labs

Once all your environments are activated, you might want to enable some Heroku labs feature for all your environments.

> be hanzo install labs

-----> Activating Heroku Labs
       Add preboot? yes
       - Enabled for qa
       - Enabled for staging
       - Enabled for production
       Add user-env-compile? yes
       - Enabled for qa
       - Enabled for staging
       - Enabled for production

Deploy a branch or a tag

> bundle exec hanzo deploy qa

-----> Branch to deploy: |HEAD|

License

Hanzo is © 2013 Mirego and may be freely distributed under the New BSD license. See the LICENSE.md file.

About Mirego

Mirego is a team of passionate people who believe that work is a place where you can innovate and have fun. We proudly build mobile applications for iPhone, iPad, Android, Blackberry, Windows Phone and Windows 8 in beautiful Quebec City.

We also love open-source software and we try to extract as much code as possible from our projects to give back to the community.