Slide 18
Slide 18 text
2009
!
# General configuration settings, required for all recipes!
set :application, "project-name"
set :domain, "project-domain"
set :extra_domains, %w() # Add something like www.project-domain.com
role :app, domain
role :web, domain
role :db, domain, :primary => true
!
# set :user, "user"
!
# Deployment Settings
set :repository, "repository url"
set :deploy_to, "/absolute/path/to/location/your/server"
set :deploy_via, :checkout
set :config_files, %w()
!
# SSH Keys for caching (you must generate these first.)
ssh_options[:keys] = %w(~/.ssh/mykey1 ~/.ssh/mykey2)
!
# Change this to :thin if you want to use Thin instead.
set :app_server, :mongrel
!
# Change this to :merb if you want to use Merb instead. (experimental)
set :app_framework, :rails
!
# =============================================================
# Application Server Settings (Thin or Mongrel)
# =============================================================
set :app_servers, 1
set :app_server_port, 7007
set :app_environment, 'production'
set :app_server_address, '127.0.0.1'
set :app_server_conf, "#{shared_path}/config/thin.yml"
!
# =============================================================
# Nginx Settings