website/index.html in capitate-0.1.9 vs website/index.html in capitate-0.2.1
- old
+ new
@@ -3,11 +3,11 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
- → ‘capitate’
+ → ‘capitate’: Capistrano recipes, plugins and templates.
</title>
<script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
<style>
</style>
@@ -21,11 +21,11 @@
antiAlias: true,
autoPad: true,
validTags: ["div"]
};
- curvy_ids = [ "version", "recipes" ];
+ curvy_ids = [ "version" ];
for(id in curvy_ids) {
var box = new curvyCorners(settings, document.getElementById(curvy_ids[id]));
box.applyCornersToAll();
}
}
@@ -36,20 +36,22 @@
<h1>→ ‘capitate’</h1>
<div id="version" class="clickable box" onclick='document.location = "http://rubyforge.org/projects/capitate"; return false'>
<p>Get Version</p>
- <a href="http://rubyforge.org/projects/capitate" class="numbers">0.1.9</a>
+ <a href="http://rubyforge.org/projects/capitate" class="numbers">0.2.1</a>
</div>
- <div id="recipes" class="box">
+ <div id="recipes">
+ <p>Documentation:
<a href="recipes/index.html">Recipes</a> →
<a href="http://svn.ducktyper.com/capitate/trunk/lib/capitate/plugins/">Plugins</a> →
<a href="http://svn.ducktyper.com/capitate/trunk/lib/templates/">Templates</a>
+ </p>
</div>
- <div style="clear:both">
+ <div>
<h2>What</h2>
<p>Capistrano plugins, recipes and templates.</p>
@@ -72,60 +74,44 @@
<h2>The basics</h2>
- <p>Capitate has recipes for:</p>
+ <p>Capitate has:</p>
<ul>
- <li>Installing applications, via package manager or manually building with make.</li>
+ <li>Plugins to help install applications, via yum or manually unpacking, and building. Also to help upload files sanely, prompt for input, install gems, and run scripts.</li>
+ <li>Templates for init scripts and application configuration.</li>
<li>Common deployment setup and update_code tasks, such as symlinking in database.yml and more advanced recipes such as sphinx configuration.</li>
- <li><span class="caps">ERB</span> templates for application configuration files, init scripts, monit configuration, etc.</li>
- <li>And more…</li>
</ul>
- <h3>Beefing up your deploy</h3>
+ <h3>Example: Using capitate to write an install task:</h3>
- <p>For an example deploy, see <a href="http://svn.ducktyper.com/capitate/trunk/lib/profiles/centos-sick.rb">centos-sick.rb</a></p>
+ <p>See <a href="http://svn.ducktyper.com/capitate/trunk/lib/deployment/install-centos-rubyweb.rb">install-centos-rubyweb.rb</a></p>
- <p>You could copy this profile into config/deployment/ and add it to your Capfile:</p>
+ <p>Load this in your Capfile:</p>
- <pre><code>load "config/deployment/centos-sick.rb"</code></pre>
+ <pre><code>load "lib/deployment/install-centos-rubyweb.rb"</code></pre>
- <h3>Use recipes</h3>
+ <p>and then:</p>
- <p><a href="recipes/index.html">View recipes documentation</a></p>
+ <pre><code>cap HOSTS=x.x.x.x install</code></pre>
- <p>For example, to script the install of a group of applications as root, use <a href="recipes/recipes.html">recipes:run</a>:</p>
+ <h3>Use it</h3>
- <p>Configure your Capfile to run it:</p>
+ <p><a href="recipes/index.html">View recipes documentation</a></p>
- <p><pre class='syntax'>
-<span class="ident">set</span> <span class="symbol">:recipes_run</span><span class="punct">,</span> <span class="punct">[</span> <span class="punct">"</span><span class="string">ruby:centos:install</span><span class="punct">",</span> <span class="punct">"</span><span class="string">memcached:centos:install</span><span class="punct">"</span> <span class="punct">]</span>
-<span class="ident">set</span> <span class="symbol">:recipes_user</span><span class="punct">,</span> <span class="punct">"</span><span class="string">root</span><span class="punct">"</span>
-</pre></p>
-
-
- <p>Then run:</p>
-
-
- <pre><code>cap recipes:run</code></pre>
-
-
- <p>This is just a basic example.</p>
-
-
<h2>Forum</h2>
<p><a href="http://groups.google.com/group/capitate">http://groups.google.com/group/capitate</a></p>
@@ -134,11 +120,11 @@
<p>Read the <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/">8 steps for fixing other people’s code</a> and for section <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups">8b: Submit patch to Google Groups</a>, use the Google Group above.</p>
- <p>The trunk repository is <code>http://svn.ducktyper.com/capitate/trunk</code> for anonymous access.</p>
+ <p>The trunk repository is <a href="http://svn.ducktyper.com/capitate/trunk">http://svn.ducktyper.com/capitate/trunk</a> for anonymous access.</p>
<h2>License</h2>
@@ -149,10 +135,10 @@
<p>Comments are welcome. Send an email to <a href="mailto:gabrielh@gmail.com">Gabriel Handford</a> via the <a href="http://groups.google.com/group/capitate">forum</a></p>
</div>
<p class="coda">
- <a href="FIXME email">Gabriel Handford</a>, 22nd February 2008<br>
+ <a href="mailto:gabrielh@gmail.com">Gabriel Handford</a>, 23rd February 2008<br>
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
</p>
</div>
<!-- insert site tracking codes here, like Google Urchin -->