→ ‘capitate’
Get Version
0.3.3What
Capistrano plugins, recipes and templates.
Installing
sudo gem install capitate
Running
Add capitate to your Capfile. Copy this somewhere near the top:
require 'capitate' require 'capitate/recipes' set :project_root, File.dirname(__FILE__)
The basics
Capitate has:
- Plugins to help install applications, via yum or manually unpacking, and building. Also to help upload files sanely, prompt for input, install gems, run shell scripts, etc.
- Templates for init scripts and application configuration
- Templates and recipes for common apps like monit, nginx, sphinx, mongrel, ruby and mysql
- Common deployment setup and update_code tasks, such as symlinking in database.yml and more advanced recipes such as sphinx configuration.
Example: Using capitate to write an install task:
See centos-5.1-64-web/install.rb
Load this in your Capfile:
load "lib/deployment/centos-5.1-64-web/install.rb"
and then:
cap HOSTS=x.x.x.x install
Use recipes
Forum
http://groups.google.com/group/capitate
How to submit patches
Read the 8 steps for fixing other people’s code and for section 8b: Submit patch to Google Groups, use the Google Group above.
The trunk repository is http://github.com/gabriel/capitate/tree/master for anonymous access.
License
This code is free to use under the terms of the MIT license.
Contact
Comments are welcome. Send an email to Gabriel Handford via the forum
ducktyper.com, 13th March 2008
Theme extended from Paul Battley