import a gzipped database backup

I’ve been gunzipping my MySQL dumps before importing them.  This was always mildly annoying – especially when working on Drupal projects where the database seems to get passed around a lot. Today I found a more concise approach: use gzcat to read the contents of the gzipped file directly into your database like this: gzcat...

Setting up MCFileManager on Drupal 7 with Capistrano

I needed to install MCFileManager on a capified Drupal 7 project.  I followed these instructions, but changing the upload directory and getting things to work with Capistrano was slightly complicated.  Here are a few lessons I learned… 1. The filemanager module must be installed in /sites/all/modules I’ve been installing all contributed modules in /sites/all/modules/contrib, but this didn’t work...