Sha256: 8e0728ebc31bedff1c8f4cfd986e1fe0052bf592764fef036012971de4c70d37

Contents?: true

Size: 1.83 KB

Versions: 5

Compression:

Stored size: 1.83 KB

Contents

h1. → 'capitate'

h2. What

Capistrano plugins, recipes and templates.

h2. Installing

<pre>sudo gem install capitate</pre>


h2. Running

Add capitate to your Capfile. Copy this somewhere near the top:

<pre syntax="ruby">require 'capitate'  
require 'capitate/recipes'
set :project_root, File.dirname(__FILE__)
</pre>


h2. 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, application configuration, etc.
* Common deployment setup and update_code tasks, such as symlinking in database.yml and more advanced recipes such as sphinx configuration.


h3. Example: Using capitate to write an install task:

See "install-centos-rubyweb.rb":http://svn.ducktyper.com/capitate/trunk/lib/deployment/install-centos-rubyweb.rb

Load this in your Capfile:

  load "lib/deployment/install-centos-rubyweb.rb"
  
and then:

  cap HOSTS=x.x.x.x install


h3. Use recipes

"View recipes documentation":recipes/index.html




h2. Forum

"http://groups.google.com/group/capitate":http://groups.google.com/group/capitate

h2. How to submit patches

Read the "8 steps for fixing other people's code":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/ and for section "8b: Submit patch to Google Groups":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups, use the Google Group above.

The trunk repository is "http://svn.ducktyper.com/capitate/trunk":http://svn.ducktyper.com/capitate/trunk for anonymous access.

h2. License

This code is free to use under the terms of the MIT license. 

h2. Contact

Comments are welcome. Send an email to "Gabriel Handford":mailto:gabrielh@gmail.com via the "forum":http://groups.google.com/group/capitate

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
capitate-0.2.2 website/index.txt
capitate-0.2.3 website/index.txt
capitate-0.2.7 website/index.txt
capitate-0.2.5 website/index.txt
capitate-0.2.6 website/index.txt