Sha256: d3dfb8243bd2659b80f87f6e18fd0f667ecbddbc2eb692b7d2f688bead0c9edb

Contents?: true

Size: 1.3 KB

Versions: 9

Compression:

Stored size: 1.3 KB

Contents

# heroku_deploy
This gem is an easy way to quickly setup and
deploy staging and production environments for
your project on heroku.

###Installation Instructions
Install the gem:
    sudo gem install heroku_deploy

In environment.rb
    config.gem "heroku_deploy"

In your Rakefile:
    begin
      require 'heroku_deploy'
      HerokuDeploy::Tasks.new(
          :staging_app => "example-app-staging",
          :production_app => "example-app")
    rescue LoadError
      puts "heroku_deploy (or a dependency) not available. Install it with: gem install heroku_deploy"
    end

###Setup and Deploy
heroku_deploy assumes that origin/master is your main development branch.  Once you have that in place, run:

    rake heroku_deploy:setup

This creates two additional branches: staging and production.  These branches hold your deploys.
It also creates the two heroku apps specified in your Rakefile.

Next, deploy to your staging app:

    rake heroku_deploy:staging

Once you've vetted your app at http://example-app-staging.heroku.com, deploy to production:

    rake heroku_deploy:production

It's easy!

Doing a deploy will automatically backup and download your code and database in a heroku bundle.
To back up without deploying, run:

    rake heroku_deploy:backup:staging

or

    rake heroku_deploy:backup:production


Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
heroku_deploy-0.1.0 README.markdown
heroku_deploy-0.0.14 README.markdown
heroku_deploy-0.0.13 README.markdown
heroku_deploy-0.0.12 README.markdown
heroku_deploy-0.0.11 README.markdown
heroku_deploy-0.0.10 README.markdown
heroku_deploy-0.0.9 README.markdown
heroku_deploy-0.0.8 README.markdown
heroku_deploy-0.0.7 README.markdown