Some capistrano-recipes .. and .. an Except-Script if you deploy an private-git-repository
MIT License
Some capistrano-recipes for our deployment .. still in development!
Code is inspired by:
Ryan Bates .. railscast #337 = some of the recipes
Sergey Nartimov = the load mechanism
add magic_recipes to your Gemfile
gem 'magic_recipes', :require => nil
install the gem
$ bundle install
run the generator
$ rails g magic_recipes:capify
edit 'config/deploy'
enjoy some magic!
and in use .. but not tested
There's also an Except-Script (bin/git_cap) which is great if you use a private-git-repository ... so you don't need to provide your git-username and git-password twice every deploy.
Usage
$ rails g magic_recipes:git_cap # => from app folder .. copy git_cap file
$ git_cap git_name git_password # => from app folder .. start silent depoy
or add an alias in ~/.profile | ~/.bash_rc
alias git_deploy='./git_cap git_name git_password'
and start with
$ git_deploy
This project rocks and uses MIT-LICENSE.