Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (30 sloc) 1.02 KB
# Customize this file, and then rename it to config.rb
set :application, "WP Stack Site"
set :repository, "set your git repository location here"
set :scm, :git
# Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none`
# Using Git Submodules?
set :git_enable_submodules, 1
# This should be the same as :deploy_to in production.rb
set :production_deploy_to, '/srv/www/example.com'
# The domain name used for your staging environment
set :staging_domain, 'staging.example.com'
# Database
# Set the values for host, user, pass, and name for both production and staging.
set :wpdb do
{
:production => {
:host => 'PRODUCTION DB HOST',
:user => 'PRODUCTION DB USER',
:password => 'PRODUCTION DB PASS',
:name => 'PRODUCTION DB NAME',
},
:staging => {
:host => 'STAGING DB HOST',
:user => 'STAGING DB USER',
:password => 'STAGING DB PASS',
:name => 'STAGING DB NAME',
}
}
end
# You're not done! You must also configure production.rb and staging.rb