forked from repeatingbeats/foosboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCapfile
More file actions
28 lines (22 loc) · 689 Bytes
/
Copy pathCapfile
File metadata and controls
28 lines (22 loc) · 689 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
load 'deploy' if respond_to?(:namespace)
set :application, "foosboard"
set :user, "slloyd"
set :deploy_to, "/var/www/foosboard.soundhacks.com"
set :use_sudo, false
set :scm, :git
set :repository, "git@github.com:repeatingbeats/foosboard.git"
set :deploy_via, :remote_cache
set :branch, "master"
set :ssh_options, { :forward_agent => true,
:keys => "~/.ssh/id_rsa"
}
task :soundhacks do
role :app, "foosboard.soundhacks.com"
role :web, "foosboard.soundhacks.com"
role :db, "foosboard.soundhacks.com", :primary => true
end
namespace :deploy do
task :restart do
# TODO: need some upstart goodness
end
end