digplanet beta 1: Athena
Share digplanet:

Agriculture

Applied sciences

Arts

Belief

Business

Chronology

Culture

Education

Environment

Geography

Health

History

Humanities

Language

Law

Life

Mathematics

Nature

People

Politics

Science

Society

Technology

Capistrano
Original author(s) Jamis Buck, Lee Hambley
Stable release 2.14.1 / January 10, 2013
Written in Ruby
Operating system POSIX (Linux, OpenBSD, OS X)
Type Deployment tool
License MIT License
Website github.com/capistrano/capistrano/wiki

Capistrano is an open source tool for running scripts on multiple servers; its main use is deploying web applications. It automates the process of making a new version of an application available on one or more web servers, 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 the Ruby on Rails web application framework, but it has also been used to deploy web applications written using other frameworks, including ones written in PHP.

Capistrano is implemented primarily for use on the Bash command line. Users of the Ruby on Rails framework may choose from many Capistrano recipes, 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.

The original author, Jamis Buck, announced on February 24, 2009 that he is no longer the maintainer of the project.[1]

Contents

Internals [edit]

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. 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 Ruby on 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. [2]

Example capfile [edit]

task :xml_libs, :hosts => "www.capify.org" do
  run "ls -x1 /usr/lib | grep -i xml"
end

This defines a single task, called "xml_libs", and says that it should be executed only on the "www.capify.org" host. When executed, it will display all files and subdirectories in /usr/lib that include the text "xml" in their name. Assuming the capfile is in the current directory, the user would execute that task like this:

cap xml_libs

See also [edit]

References [edit]

Further reading [edit]

External links [edit]


Original courtesy of Wikipedia: http://en.wikipedia.org/wiki/Capistrano — Please support Wikipedia.
A portion of the proceeds from advertising on Digplanet goes to supporting Wikipedia.
99497 videos foundNext > 

Simple and powerful site deployment with capistrano - Kim Pepper

Are you still using FTP to deploy changes to your sites? This session outlines a deployment process and use of the capistrano deployment tool. When you run t...

Basic Deployment with Capistrano

Capistrano has been the most popular way to deploy Ruby and Rails applications for a long time. This video provides a quick demonstration of a basic recipe f...

Capistrano - Piccola Grande Italia

Circondato da estesi uliveti e fitti boschi di faggio, alle pendici del monte Còppari, nella splendida terra di Calabria, sorge Capistràno. L'antica eco del ...

Railscasts Episode 133: Capistrano Tasks

Do you know how to make Capistrano tasks? See how to change default deployment behavior with custom tasks in this episode. Original URL: http://railscasts.co...

Mission San Juan Capistrano Travel Guide

California travel expert Veronica Hill of http://www.CaliforniaTravelExpert.com and the California Essential Guide app (http://itunes.apple.com/us/app/id4...

When The Swallows Come Back To Capistrano (The Ink Spots, 1940)

When The Swallows Come Back To Capistrano (The Ink Spots, 1940, ? album, author Leon René) *** NOTICE *** Dear viewer, by sharing this free-of-charge video, ...

CARNAVAL 2012. CAPISTRANO CE

BLOCO SUVACO DE COBRA.

The Ink Spots - When The Swallows Come Back To Capistrano.wmv

This is the one of the most beautiful songs ever.

PAT BOONE - WHEN THE SWALLOWS COME BACK TO CAPISTRANO

".....come back to me......." .

Serge Capistrano (Velcro)

99497 videos foundNext > 

3160 news items

 
Capistrano Dispatch
Mon, 20 May 2013 12:37:35 -0700

Saddleback Valley Christian will host Bishop's at St. Magraret's Episcopal School in San Juan Capistrano at 7 p.m.. In an email Van Rensselaer said that Dyer's ankle was the cause for concern and that x-rays taken over the weekend showed no signs of a ...
 
DFW Catholic
Mon, 20 May 2013 17:17:19 -0700

The Director of Institutional Advancement reports directly to the President and works closely with the Board of Directors and other key volunteer leaders. This person is charged with creating the vision, mission, and strategy for the school's marketing ...
 
Capistrano Dispatch
Fri, 17 May 2013 12:07:01 -0700

Young volleyball players will soon have a place in San Juan Capistrano to hone their skills after the Planning Commission gave the go-ahead for a new club on Tuesday. The commission unanimously approved a conditional use permit for 949 Volleyball Club ...
 
Patch.com
Thu, 16 May 2013 12:59:17 -0700

Next Previous Slideshow Download. Hasbro, which makes play-action heroes, has named a San Juan Capistrano boy one of six children across the nation as a real-life hero to his community. Carter Jenkins, 15, a sophomore at JSerra Catholic High School, ...
 
Capistrano Dispatch
Thu, 16 May 2013 16:25:17 -0700

The San Juan Capistrano City Council conducted their first public interviews to fill all five seats on the Planning Commission Wednesday. All five incumbent commissioners—Sheldon Cohen, Tim Neely, Roy Nunn, Jeff Parkhurst and Robert Williams—took ...
 
Capistrano Dispatch
Thu, 16 May 2013 11:30:29 -0700

F. Scott Fitzgerald's The Great Gatsby is one of the most read novels in American literature. But for whatever reason, the story can never seem to get a proper film adaptation. The 1974 version felt stoic and dull, and a TV movie adaptation in 2000 was ...
 
Mountain News
Sun, 19 May 2013 00:05:40 -0700

Capistrano Connections Academy, a tuition-free K-12 virtual public school, will host an information session in Arrowhead on Tuesday, May 21 for families interested in learning about its online program and individualized approach to education.
 
Southwest Riverside News Network
Tue, 14 May 2013 00:40:43 -0700

Mission San Juan Capistrano sits atop 10 acres of lush gardens and cool fountains, cloistered by old adobe walls, offering visitors a reprieve from the sights and sounds of a busy world. The arches outside of the Mission at San Juan Capistrano ...
Loading

Oops, we seem to be having trouble contacting Twitter

Talk About Capistrano

You can talk about Capistrano with people all over the world in our discussions.

Support Wikipedia

A portion of the proceeds from advertising on Digplanet goes to supporting Wikipedia. Please add your support for Wikipedia!