Sha256: 2eaf1bf39ee9ca9939728ef84a6e1aba58d77e8ce64d823a86c46c15d44e9d00

Contents?: true

Size: 1.02 KB

Versions: 3

Compression:

Stored size: 1.02 KB

Contents

#
# Settings for project
#

set :application, "sick"
set :user, "sick"
set :groups, "admin"

set :deploy_to, "/var/www/apps/sick"
set :web_host, "192.168.1.111"
set :db_host, "192.168.1.111"
set :db_user, "sick"
set :db_pass, prompt.password("DB Password: ")
set :db_name, "sick"
set :repository, "http://svn.ducktyper.com/scratch/testapp/trunk"
set :mongrel_port, 12000
set :mongrel_size, 3
set :domain_name, "localhost"
set :mysql_admin_password, prompt.password('Mysql admin password: ')

set :deploy_via, :copy
set :copy_strategy, :export

role :web, "192.168.1.111"
role :db, "192.168.1.111", :primary => true


# Callbacks 
before "deploy:setup", "centos:add_user"

after "deploy:setup", "mysql:setup", "rails:setup", "mongrel:cluster:centos:setup",
  "nginx:mongrel:setup", "sphinx:centos:setup", "sphinx:setup_monit", "mongrel:cluster:monit:setup"
  
after "nginx:mongrel:setup", "nginx:centos:restart"

after "deploy:update_code", "rails:update_code", "sphinx:update_conf"

# Auto cleanup after deploy
after "deploy", "deploy:cleanup"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
capitate-0.2.5 lib/deployment/deploy.rb
capitate-0.2.6 lib/deployment/deploy.rb
capitate-0.2.7 lib/deployment/deploy.rb