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.
- June
- 13
- 2009
No responses to “Deploying WordPress with Capistrano”
Article Comments RSS