forked from kronda/wp_capistrano
-
Notifications
You must be signed in to change notification settings - Fork 1
Tutorial: WP Ruby Capistrano
learn2reid edited this page Mar 21, 2014
·
1 revision
If creating a site for staging, such as dev.example.com, first you must create the subdomain using cPanel or whatever is provided by hosting service
- ### $ git clone
- learn2reid/wp_capistrano.git ###
- ### $ git clone
- Kronda/wp_capistrano.git ###
Note: to show removes do : git remote -v
###
NO UNDERSCORES OR DASHES OR SPACES
OR SLASH AFTER ###
### ###
### ###
### ###
### ###
sftp://lustfulhealth.com//home3/lustful1/sites/lustfulhealth-staging/shared/default/local-config.php
ln -s /{home}/{username}/sites/{project}-{stage}/current/wordpress SPACE /{home}/{username}/public_html/{subdomain}
ex) ln -s /home3/lustful1/sites/lustfulhealth-dev/current/wordpress /home3/lustful1/lustful1/public_html/dev
## ##
First Time
### ###
### ###
≠ First Time
cap {stage} deploy:check
must include –url=dev.lustfulhealth.dev’ if used local-config.php with case switches
Capistrano – Could not parse object ’77514601ab8705e36f26270098b2aa268d9a7899′The easy solution is to go to the server to which you are attempting to deploy and delete the “cached-copy” directory under the “shared” directory.
### ###
# Password Protect AuthType Basic AuthName “Development Area: Locial Network Only” AuthUserFile /home3/lustful1/sites/lustfulhealth-dev/shared/default/.htpasswd require valid-user
####
## ##