Skip to content

Monthly Archives: June 2008

deploying php with capistrano

Capistrano is to deployment what a spatula is to scrambled eggs. It’s mostly thought of as a rails tool, but it works for any code you need to export from a source-control repository to a server on a regular basis. Php, for instance. I’ve got a rails site that uses an open-source php shopping cart […]

running rake from cron

Quick tip, mostly for myself: I’m moving a site to a new server. I’ve got several cron jobs set up to do things like delete caches, rotate logs, backup the db, etc. Most of the code for those tasks is written as rake tasks, so it’s nice, readable ruby code and included in the code […]