Sha256: 952e3ce4525c480d7adfefc4da77c2f11026cafd190e025356fc586403ea107a

Contents?: true

Size: 1.7 KB

Versions: 1

Compression:

Stored size: 1.7 KB

Contents

# Jumpup-heroku

Rake tasks to deploy on heroku.

## Instalation

Add to your gem file.

```ruby
gem 'jumpup-heroku', github: 'Helabs/jumpup-heroku'
```

Without groups on Gemfile, because of initializer.

##  Usage

1. Create the initializer on `config/initializers/jumpup-heroku.rb`

  ```ruby
  # config/initializers/jumpup-heroku.rb
  Jumpup::Heroku.configure do |config|
    config.app = 'myapp'
  end
  ```

  Have production and staging app? Do like this:

  ```ruby
  Jumpup::Heroku.configure do |config|
    config.staging_app = 'myapp-staging'
    config.production_app = 'myapp'
  end
  ```

  If you need to disable remote database tasks (backup, migrate and seed):

  ```ruby
  Jumpup::Heroku.configure do |config|
    config.app = 'myapp'
    config.run_database_tasks = false # Default: true
  end
  ```

2. Add to the tasks on integration.rake the tasks to deploy on Heroku:

  ```ruby
  # integration.rake

  INTEGRATION_TASKS = %w(
    jumpup:heroku:add_remote
    jumpup:heroku:check
    jumpup:heroku:lock
    integration:start
    integration:bundle_install
    db:migrate
    spec
    integration:coverage_verify
    integration:finish
    jumpup:heroku:deploy
    jumpup:heroku:unlock
  )
  ```

## Versioning

Jumpup-heroku follow the [Semantic Versioning](http://semver.org/).

## Issues

If you have problems, please create a [Github Issue](https://github.com/Helabs/jumpup-heroku/issues).

## Contributing

Please see [CONTRIBUTING.md](https://github.com/Helabs/jumpup-heroku/blob/master/CONTRIBUTING.md) for details.

## Credits

Jumpup-heroku is maintained and funded by [HE:labs](http://helabs.com.br/opensource/).
Thank you to all the [contributors](https://github.com/Helabs/jumpup-heroku/graphs/contributors).

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jumpup-heroku-0.0.1 README.md