jestro / wordpress-capistrano
- Source
- Commits
- Network (7)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
7091780
commit 70917805ae58665d268ea3356f3a99b5167b1b1b
tree 39c7b09bda56fa71cb90f28e9621c9339d16f000
parent 169c32518e949c0eb3cea3bc371bff0f74536a79
tree 39c7b09bda56fa71cb90f28e9621c9339d16f000
parent 169c32518e949c0eb3cea3bc371bff0f74536a79
| name | age | message | |
|---|---|---|---|
| |
.gitmodules | ||
| |
Capfile | ||
| |
Readme.textile | ||
| |
config/ | ||
| |
index.php | Mon Nov 17 16:46:45 -0800 2008 | |
| |
plugins/ | Mon Nov 17 16:54:19 -0800 2008 | |
| |
themes/ | ||
| |
wordpress - 75044e4 |
Readme.textile
Summary
This is a repo intended for use as a template for your wordpress projects.
Setup
- Fork this repo
- Rename your project, make it private if desired
- Clone your fresh repo:
git clone git@github.com:yourname/yourwordpressproject.git
cd yourwordpressproject
git submodule init
git submodule update
- Create a theme in
themes - Drop your plugins in
plugins - Update
config/wp-config.php - Adjust the settings in
config/deploy.rb - Adjust the settings in
config/puppet.pp cap deploy:setup- Add your GitHub deploy key as instructed by the setup task.
cap deploy:cold- Subsqeuently, to deploy changes, run
cap deploy
Switching Wordpress Versions
cd wordpress
#show all versions
git tag -l
#checkout a version
git checkout 2.6.3
cd ..
#commit
git commit wordpress -m "use wordpress 2.6.3"
#push
git push

