Fabric - A Lightweight Deployment Tool for Rubyists and Pythonists Alike Mike Leone - Panoptic Development, Inc
Why Fabric? Capistrano is elegant, powerful, extensible
but...
Too many features for small, simple projects
If you're using a DSL, the implementation language isn't so important
If you know Ruby, you already know enough Python for a simple fabric script!
Can you teach a Rubyist how Capistrano works in 3 minutes? Probably not!
Makes assumptions about your version control system
Release directory structure
The way your server restarts
In typical Ruby fashion, there's lots of ”magic”
Fabric is two things API for streamlining the use of SSH for app deployment or sys admin tasks
Command-line interface for calling Python methods
Example $ fab free_space
Write a deploy script in 3 minutes We want a script that will:
test our code
deploy it to our server in the /mnt directory
restart the web server

Fabric: A Capistrano Alternative