No commit activity in last 3 years
No release in over 3 years
Capistrano recipes to make your deployments fast and easy
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.5

Runtime

~> 1.3
~> 2.12
 Project Readme

Capistrano Recipes Build Status Dependency Status

Powerful capistrano recipes to make your rails deployments fast and easy.

Quickstart Guide

Create a file called 'Capfile' in your application's root directory.

For a single environment add:

require 'capistrano/recipes'

use_recipes :assets, :bundler, :git

server 'Add your web server domain or ip here', :app, :web, :db, :primary => true

set :application, "Set application name here"
set :deploy_to,   "/path/to/your/app/here"
set :repository,  "Set repository location here"
set :domain,      "Set domain name here"

For a multistage environment add:

require 'capistrano/recipes'

use_recipes :assets, :bundler, :git, :multistage

stage :staging, :branch => :dev, :default => true do
  server 'Add your web server domain or ip here', :app, :web, :db, :primary => true
end

stage :production, :branch => :master do
  server 'Add your web server domain or ip here', :app, :web, :db, :primary => true
end

set :application, "Set application name here"
set :deploy_to,   "/path/to/your/app/here"
set :repository,  "Set repository location here"
set :domain,      "Set domain name here"

To add a single recipe:

use_recipe :bundle

To add multiple recipes:

use_recipes :assets, :bundle, :git, :multistage

Recipes

Recipe Documentation
:assets Assets recipe documentation
:bundle Bundle recipe documentation
:git Git recipe documentation
:multistage Multistage recipe documentation
:mysql Mysql
:nginx Nginx
:unicorn Unicorn

Installation

Add this line to your application's Gemfile:

gem 'capistrano_recipes'

And then execute:

$ bundle

Or install it yourself as:

$ gem install capistrano_recipes

Documentation

For more detailed information, visit the wiki.

Changelog

Look at the CHANGELOG to see what's changed.

Contributing

  1. Fork it
  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 new Pull Request