Skip to content

Instantly share code, notes, and snippets.

#
# = Capistrano Passenger deploy tasks
#
# Provides tasks for deploying a Rails application with Passenger (aka mod_rails).
#
# Category:: Capistrano
# Package:: Passenger
# Author:: Simone Carletti <[email protected]>
# Copyright:: 2007-2008 The Authors
# License:: MIT License
@cavi21
cavi21 / deploy.rb
Created November 21, 2009 16:13 — forked from mrichman/deploy.rb
set :application, "myapplication"
set :repository, "[email protected]:git/#{application}.git"
set :server_name, "www.example.com"
set :scm, "git"
set :checkout, "export"
set :deploy_via, :remote_cache
set :branch, "master"
set :base_path, "/path/to/www"
set :deploy_to, "/path/to/www/#{application}"
set :apache_site_folder, "/etc/apache2/sites-enabled"