.. 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
-
run bundle install
-
run the generator
rails g magic_recipes:capify
-
edit 'config/deploy'
-
enjoy some magic
-
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
and in use .. but not tested
- nginx
- thin
- assets
- private_pub ... needs nginx_tcp_proxy_module for nginx
This project rocks and uses MIT-LICENSE.