Flame Deploy Toys

Gem Cirrus CI - Base Branch Build Status Codecov branch Code Climate Depfu Inline docs License

Toys template for deploying Flame application.

Installation

Add this line to your application's Gemfile:

gem 'flame_deploy_toys'

And then execute:

bundle install

Or install it yourself as:

gem install flame_deploy_toys

Usage

## .toys/.toys.rb
require 'flame_deploy_toys'
expand FlameDeployToys::Template, config_dir: "#{__dir__}/../config"

Then it will look for deploy.yaml file in config directory with such structure:

- :ssh: 'server alias from ~/.ssh/config (or user@host)'
  :path: '/path/to/root/of/project'

Development

After checking out the repo, run bundle install to install dependencies.

Then, run toys rspec to run the tests.

To install this gem onto your local machine, run toys gem install.

To release a new version, run toys gem release %version%. See how it works here.

Contributing

Bug reports and pull requests are welcome on GitHub.

License

The gem is available as open source under the terms of the MIT License.