• June
  • 13
  • 2009

Deploying WordPress with Capistrano

by Adam

I do Ruby on Rails development full time at the moment.  With Rails, I usually deploy my applications to the web server with a program called Capistrano.  Its a Ruby Gem.  A ruby gem is ruby program installed by the “gems package manager.” It’s similar to yum or apt if you have ever install software on Linux.  Capistrano lets you create a recipe that specifies how to deploy your application to the server (or servers). Once you have your recipe all set, you run cap deploy:setup the very first time you deploy.  To push your application live after everything is setup, you run cap deploy (or cap deploy:cold).  By “run” I mean in a command line environment like Terminal for mac.  This is extremely hand when it comes to deploying application to the server, because it does 99% of the work for you.  I have created a Capistrano recipe to deploy WordPress blogs from scratch (it even creates your wp-config.php for you).  Check out the recipe at deploying WordPress with Capistrano on GitHub.

This entry was posted 9 months ago on Saturday, June 13th, 2009 at 11:21 pm. You can leave a response, or trackback from your own site. Categories: PHP WordPress Tags:

No responses to “Deploying WordPress with Capistrano”

Leave a Reply

Article Comments RSS