Sha256: 7330fea9c586de745f80ffdfe4fef56d4616d32ad231691f1d4eb9172e01d260

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

# Capistrano::Hutch

[Hutch](https://github.com/gocardless/hutch) integration for [Capistrano 3](https://github.com/capistrano/capistrano)

## Installation

Add this lines to your application's Gemfile:

    gem 'hutch', github: 'gocardless/hutch' # currently capistrano-hutch requires HEAD version of hutch.
    gem 'capistrano-hutch', group: :development

And then execute:

    $ bundle

## Usage

ruby
    # Capfile

    require 'capistrano/hutch'
```

Configurable options, shown here with defaults:

```ruby
    hutch_role:           :app
    hutch_default_hooks:  true
    hutch_pid:            File.join(shared_path, 'tmp', 'pids', 'hutch.pid')
    hutch_config:         File.join(shared_path, 'config', 'hutch.yml')
    hutch_env:            fetch(:rails_env, fetch(:rack_env, fetch(:stage)))
    hutch_options:        nil
```

Do not forget to create `config/hutch.yml` on production host and setup symlink.

## Contributing

1. Fork it ( https://github.com/[my-github-username]/capistrano-hutch/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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capistrano-hutch-0.1.1 README.md