Derivativable.com

# config/deploy.rb for mod_rails
# by masuidrive

set :application, "codehen"
set :domain, "derivativable.com"

set :repository, "svn+ssh://xxxx.masuidrive.jp/home/masuidrive/svn/#{application}/trunk"
set :deploy_to, "/mnt/www/#{domain}"

#set :deploy_via, :copy
set :deploy_via, :checkout
set :copy_strategy, :export

role :web, domain
role :app, domain
role :db, domain, :primary => true

namespace :deploy do
  task :restart, :roles => :app do
    send(:run, "touch #{current_path}/tmp/restart.txt")
  end
  
  task :start, :roles => :app do
    send(run_method, "/etc/init.d/apache2 restart")
  end
end
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 

Derivatives

system provided by masuidrive.jp