Thank you to anyone who has already donated - your generous donations helped make three months of treatment possible.

My brother Nate continues to fight stage IV Hodgkin's lymphoma. He's just 31, with a wife and baby girl. They have no active income (since he's been unable to return to work), no insurance, and cannot afford the treatment he needs. Nate and his family need your help. Please consider a donation, every dollar helps. Thanks.


1
2
3
4
5
6
7
set :svn_user, "mysvnuser"
set :svn_pass, "mysvnpass"
ssh_options[:username] = 'admin@domain.com'
ssh_options[:password] = 'mysshpass'
set :user, "admin"
set :password, "mypass"

=============================================================================

1
2
3
4
# REQUIRED VARIABLES
# =============================================================================
set :application, "domain.com"
set :repository,  "--username #{svn_user} --password #{svn_pass} http://svn.anotherdomain.com/myapp/trunk"

=============================================================================

1
2
3
4
5
6
7
8
# OPTIONAL VARIABLES
# =============================================================================
set :deploy_to, "/home/public_html/sub.domain.com" # defaults to "/u/apps/#{application}"
set :deploy_via, :copy
#set :checkout, "export"
set :copy_strategy, :checkout
set :use_sudo, false
set :keep_releases, 3

=============================================================================

1
2
3
4
5
# ROLES
# =============================================================================
role :app, application
role :web, application
role :db, application , :primary => true

=============================================================================

1
2
3
4
5
6
7
8
# TASKS
# =============================================================================
desc "This will deploy the app - overwrites deploy task so it wont run migrate or other rails related tasks"
deploy.task :deploy do
  run "svn --quiet #{checkout} #{repository} #{release_path}"
  run "ln -nfs #{release_path} #{current_path}"
  run "ln -nfs #{shared_path}/public #{current_path}/public"
end