Capistrano::Recipes
A simple number of capistrano recipes to deploy rails application using Capistrano v3.
Installation
Add this line to your application's Gemfile:
gem 'j-cap-recipes', require: false, group: :development
And then execute:
$ bundle
Or install it yourself as:
$ gem install j-cap-recipes
Usage
In the Capfile to include all recipes add:
require 'j-cap-recipes'
If you want to load only specified recipe:
require 'j-cap-recipes/setup'
require 'j-cap-recipes/check'
require 'j-cap-recipes/nginx'
require 'j-cap-recipes/monit'
require 'j-cap-recipes/database'
require 'j-cap-recipes/delayed_job'
require 'j-cap-recipes/log'
require 'j-cap-recipes/rails'
require 'j-cap-recipes/unicorn'
Nginx
Setup
Check
Monit
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
