-
Notifications
You must be signed in to change notification settings - Fork 16
/
Capfile
47 lines (34 loc) · 1.8 KB
/
Capfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
load 'deploy'
#the domain name for the server you'll be running wordpress on
set :domain, "localhost"
#other domain names your app will respond to (dev.blog.com, etc)
#set :server_aliases, []
#the name of this wordpress project
set :application, "wordpress-capistrano-test"
#your repo
set :repository, "git@github.com:jestro/wordpress-capistrano.git"
require File.join(File.dirname(__FILE__), 'lib', 'deploy', 'wordpress')
#Customizations
#==============
#if you've forked and customized puppet-lamp and want to use it to bootstrap your server,
#enter the URL to a tarball of your puppet configuration here
#set :initial_puppet_tarball_url, "http://github.com/jestro/puppet-lamp/tarball/master"
#if you've forked and customized puppet-lamp, enter the git clone url here.
#it's perfectly fine to bootstrap your server with the stock puppet-lamp
#manifests, and then run a puppet:update_from_git to get your customizations
#set :puppet_git_repo_url, "git@github.com:you/your-puppet-lamp.git"
#if you need to use a different version of wordpress, specify that here
#set :wordpress_svn_url, "http://svn.automattic.com/wordpress/tags/2.7"
#unless set here, we prompt you for these three on `cap setup:wordpress`
# set :wordpress_db_name, ""
# set :wordpress_db_user, ""
# set :wordpress_db_password, ""
# set :wordpress_db_host, "localhost"
# WordPress path. Unless set here, these variables *WILL NOT* be set in wp-config.php
# set :wordpress_home, "http://www.yourdomain.com"
# set :wordpress_siteurl, "http://www.yourdomain.com"
#these are randomized on `cap setup:wordpress`
# set :wordpress_auth_key, Digest::SHA1.hexdigest(rand.to_s)
# set :wordpress_secure_auth_key, Digest::SHA1.hexdigest(rand.to_s)
# set :wordpress_logged_in_key, Digest::SHA1.hexdigest(rand.to_s)
# set :wordpress_nonce_key, Digest::SHA1.hexdigest(rand.to_s)