0.01
No commit activity in last 3 years
No release in over 3 years
Our capistrano recipes for nginx, passenger, thin, private_pub, .. include expect-script for silent-deployment of private git-repos.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

MagicRecipes

Some capistrano-recipes for our deployment .. still in development!

Code is inspired by:

Usage

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!

ToDo´s

  • add tests (rspec+cucumber)
  • make expect-cap-task (bin/*_cap)
  • improve: passenger, unicorn rbenv, postgesql, nodejs, gems, db, git, rvm
  • add: puma, varnish, search-stuff, vps-stuff

Ready

and in use .. but not tested

  • nginx
  • thin
  • assets
  • private_pub ... needs nginx_tcp_proxy_module for nginx
  • sqlite ... this is more for test & try pupose (save .sqlite and copy to current after deploy)

More .. ( special feature )

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

Licence

This project rocks and uses MIT-LICENSE.