public
Description: Automate your wordpress deploys with capistrano and git
Homepage: http://jestro.com
Clone URL: git://github.com/jestro/wordpress-capistrano.git
jnewland (author)
Mon Nov 24 10:10:26 -0800 2008
commit  7fb551f356d952d6ecc8b6bfc05081b76e3f7b87
tree    0e5508913d95fb9725c4af9c6d2fe700a08a11a2
parent  252ab96d88e5badf143cc483e4fc0c76b1af2d7c
name age message
file .gitmodules Loading commit data...
file Capfile
file Readme.textile
directory config/
file index.php Mon Nov 17 16:46:45 -0800 2008 directory structure [jnewland]
directory plugins/ Mon Nov 17 16:54:19 -0800 2008 add blank plugins directory [jnewland]
directory themes/
submodule 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