No commit activity in last 3 years
No release in over 3 years
Deploys rails apps to heroku
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0

Runtime

 Project Readme

Wizarddev::Heroku

Deploys rails apps to heroku

Installation

Add this line to your application's Gemfile:

gem 'wizarddev-heroku'

And then execute:

$ bundle

Or install it yourself as:

$ gem install wizarddev-heroku

Usage

From rake deploy

Deploys the currently checked out revision to Heroku.
Reads the project's app.json file to determine tasks for a target.
Tasks include:
   Tag the release and pushes it to github
   Deploy the release to Heroku
   Execute commands remotely eg 'rake db:migrate'
   Restart the app

Uses the ~/.netrc file for authentication per the Heroku toolbelt.

usage: rake deploy TARGET=target_name
usage: rake deploy:{staging|production}

Example app.json

This is very similar and compatible with Heroku's app.json.

{
  "name": "Our Cool App",
  "description": "Great app to use all the time.",
  "website": "https://www.ourcoolapp.com",
  "heroku-environments": {
    "staging": {
      "app-name": "ourcoolapp-staging",
      "tag-name": false,
      "force-push": true,
      "scripts": [
        { "cmd": "rake db:migrate", "restart": true }
      ]
    },
    "production": {
      "app-name": "ourcoolapp-production",
      "force-push": false,
      "tag-name": "prod",
      "scripts": [
        { "cmd": "rake db:migrate", "restart": true, "remote": true },
        { "cmd": "say 'deploy complete'"}
      ]
    }
  },
  "source-repo": "git@github.com:wizarddevelopment/ourcoolapp.git"
}

Contributing

  1. Fork it ( https://github.com/wizarddevelopment/wizarddev-heroku/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request