Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 37 lines (30 sloc) 1.042 kB
374b85b @markjaquith Basic Capistrano layout
authored
1 # Customize this file, and then rename it to config.rb
2
3 set :application, "WP Stack Site"
4 set :repository, "set your git repository location here"
5 set :scm, :git
6 # Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none`
7
6ad6e06 @markjaquith Some handy tasks and config defaults
authored
8 # Using Git Submodules?
9 set :git_enable_submodules, 1
10
74bf529 @markjaquith Have to use the localhost for this — so we just need to designate the…
authored
11 # This should be the same as :deploy_to in production.rb
12 set :production_deploy_to, '/srv/www/example.com'
05afe8d @markjaquith DB and file syncing to staging with media_master designation
authored
13
9e032bf @markjaquith Set the staging domain from a setting
authored
14 # The domain name used for your staging environment
15 set :staging_domain, 'staging.example.com'
16
05afe8d @markjaquith DB and file syncing to staging with media_master designation
authored
17 # Database
18 # Set the values for host, user, pass, and name for both production and staging.
19 set :wpdb do
2dedf20 @markjaquith White space cleanup. Hat tip to @evansolomon.
authored
20 {
21 :production => {
22 :host => 'PRODUCTION DB HOST',
23 :user => 'PRODUCTION DB USER',
24 :password => 'PRODUCTION DB PASS',
25 :name => 'PRODUCTION DB NAME',
26 },
27 :staging => {
28 :host => 'STAGING DB HOST',
29 :user => 'STAGING DB USER',
30 :password => 'STAGING DB PASS',
31 :name => 'STAGING DB NAME',
32 }
33 }
05afe8d @markjaquith DB and file syncing to staging with media_master designation
authored
34 end
35
337aff4 @markjaquith Add in multistage
authored
36 # You're not done! You must also configure production.rb and staging.rb
Something went wrong with that request. Please try again.