- Capistrano
:"For the Saint, see
Giovanni da Capistrano . For the Italian city, seeCapistrano (VV) .":see also|San Juan Capistrano, CaliforniaInfobox Software
name = Capistrano
caption =
collapsible =
author = Jamis Buck
developer =
released =
latest release version = 2.4.3
latest release date = June 28, 2008
latest preview version =
latest preview date =
frequently updated = yes
programming language = Ruby
operating system = POSIX (Linux, OpenBSD, Mac OS-X)
platform =
size =
language =
status =
genre = Deployment Tool
license = MIT
website = http://www.capify.org/Overview
Capistrano is an
open source tool for running scripts on multiple servers; its main use is deployingweb application s. It automates the process of making a new version of an application available on one or moreweb server s, including supporting tasks such as changing databases.Capistrano is written in the Ruby language and is distributed using the
RubyGems distribution channel. It is an outgrowth of theRuby on Rails web application framework, but has also been used to deploy web applications written using other frameworks, including ones written inPHP .The usage on the
bash command line is easy to learn. When used with the "Ruby on Rails" Framework many defaultCapistrano recipes can be used, e.g. to deploy current changes to the web application or roll back to the previous deployment state.Originally called SwitchTower, the name was changed to Capistrano in March 2006 because of a trademark conflict.
Internals
Capistrano is a utility and framework for executing commands in parallel on multiple remote machines, via SSH. It uses a simple Domain Specific Language borrowed in part from the tool rake.Rake is similar to "make" in the C world and allows you to define tasks, which may be applied to machines in certain roles. It also supports tunneling connections via some gateway machine to allow operations to be performed behind VPNs and firewalls.
Capistrano was originally designed to simplify and automate deployment of web applications to distributed environments, and originally came bundled with a set of tasks designed for deploying Rails applications. The deployment tasks are now (as of Capistrano 2.0) opt-in and require clients to explicitly put "load ‘deploy’" in their recipes. [http://github.com/jamis/capistrano/tree/master/README.rdoc]
Further reading
* " [http://pragprog.com/titles/fr_deploy/deploying-rails-applications Book Deploying Rails Applications] " ISBN: 978-0-9787392-0-1, May 2008
References
External links
* [http://www.capify.org/ Official website]
* [http://capify.org/2008/7/10/capistrano-links-on-del-icio-us Official Link collection]
* [http://manuals.rubyonrails.com/read/book/17 Capistrano manual] Currently unavailable
* [http://rubyforge.org/projects/capistrano/ Capistrano's Rubyforge.org project]
* [http://www.deprec.org/ deprec project: Deployment Recipes for capistrano]
* [http://github.com/jamis/capistrano/tree/master/CHANGELOG.rdoc Capistrano Changelog & Source Code]
Wikimedia Foundation. 2010.