Deployment Recipes: Deprec is a collection of automated recipes, written in ruby, for setting up production ready rails servers. ALL commands are performed on the CLIENT. #To Install (performed once): $ sudo gem install deprec -y # installs what you need $ deprec_dotfiles # patches capistrano + creates your ~/.caprc $ cap show_tasks # now you have deprec tasks included ##To prepare your app: $ cd /path/to/railsapp $ deprec --apply-to . --name projectname --domain www.projectname.com # edit config/deploy.rb to put in details of your subversion repository ##To update the server (run from client): $ cap install_rails_stack $ cap deprec_setup ##To update rails app on hosts $ cap deploy #or $ cap deploy_with_migrations # then $ restart_apache $ restart_app Note: curretly, apache and mongrel_clusters do not restart after reboot. Known to support: Ubuntu 6.06 Derived from: http://deprec.rubyforge.org/
cheat sheets.
$ cheat deprec( add new | see all )
- updated sheets

- mysql_select
- cheat
- cryptsetup
- burm
- perl
- port
- yuilang
- queriac
- mechanize
- sness
- nonsense
- haml
- git
- assert_valid
- marsmission
Advertisement