Created
May 28, 2010 20:27
-
-
Save traviskroberts/417693 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ============================================================================= | |
# REQUIRED VARIABLES | |
# ============================================================================= | |
set :application, "my_app" | |
set :domain, "mydomain.com" | |
set :deploy_to, "/var/www/#{domain}" | |
# ============================================================================= | |
# SCM OPTIONS | |
# ============================================================================= | |
set :scm, :subversion # or :git | |
set :scm_user, "username" # optional | |
set :scm_password, "password" # optional | |
set :repository, "http://svn.myrepo.com/#{application}/trunk/" | |
# ============================================================================= | |
# SSH OPTIONS | |
# ============================================================================= | |
set :user, "username" | |
set :use_sudo, false # optional | |
# ============================================================================= | |
# ROLES | |
# ============================================================================= | |
# Modify these values to execute tasks on a different server. | |
role :web, domain | |
role :app, domain | |
role :db, domain, :primary => true | |
# ============================================================================= | |
# CAPISTRANO OPTIONS | |
# ============================================================================= | |
set :keep_releases, 3 | |
set :deploy_via, :remote_cache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment