Sha256: ef702f508f8d6235866f8a1835cad8b0484506ae660dd4bf9589f702c485a571

Contents?: true

Size: 1.3 KB

Versions: 2

Compression:

Stored size: 1.3 KB

Contents

set :db_name,             "zena"   # If you change this: no dots in this name !
set :server_ip,           nil      # FIXME: set this to your remote server IP in the form: "215.0.0.1"
set :mongrel_port,        "8000"
set :mongrel_count,       "3"
set :db_password,         nil      # FIXME: set password (can be anything).
set :db_user,             "zena"
set :repository,          "http://svn.zenadmin.org/zena/trunk"

if self[:server_ip]
  #================= ADVANCED SETTINGS =============#

  set :deploy_to,    "/var/zena"
  set :sites_root,   "/var/www/zena"
  set :vhost_root,   "/etc/apache2/sites-available"
  set :deflate,       true
  set :debug_deflate, false
  set :debug_rewrite, false
  set :static,        []
  set :apache2_reload_cmd, "/etc/init.d/apache2 reload"
  set :debian_host,           true
  set :ssh_user,              "root"

  role :web,         "#{ssh_user}@#{server_ip}"
  role :app,         "#{ssh_user}@#{server_ip}"
  role :db,          "#{ssh_user}@#{server_ip}", :primary => true

  #================= END ADVANCED SETTINGS ==========#
  require 'zena/deploy'

else
  puts <<-TXT
***********************************************************
You should fix your configurations file 'config/deploy.rb'
before running capistrano
***********************************************************
TXT
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zena-0.15.2 config/deploy.rb
zena-0.15.1 config/deploy.rb