2012-01-30 20:39:34 +00:00
|
|
|
# -*- encoding : utf-8 -*-
|
2012-03-26 19:45:28 +01:00
|
|
|
#require "whenever/capistrano"
|
|
|
|
set :branch, "master"
|
2011-12-06 14:45:20 +00:00
|
|
|
|
2012-03-26 19:45:28 +01:00
|
|
|
set :domain, "89.248.225.78" # "195.19.76.12"
|
|
|
|
set :port, 16922
|
2011-12-06 14:45:20 +00:00
|
|
|
|
|
|
|
role :app, domain
|
|
|
|
role :web, domain
|
|
|
|
role :db, domain, :primary => true
|
|
|
|
|
2012-03-26 19:45:28 +01:00
|
|
|
#set :application, "rosa_build_#{stage}"
|
|
|
|
#set :deploy_to, "/srv/#{application}"
|
|
|
|
#before "deploy:restart", "deploy:stub_xml_rpc"
|