The world is my backyard.
Random header image... Refresh for more!

Automating Drupal workflow using Git and Drush

Update Nov 11, 2009: Updated the script to accept username and server name as arguments and to print syntax help if no argument is passed. It would eliminate to modify script for different servers.

Drupal rocks for some things, its deployment sucks! As I automate my drupal workflows better, I should post them one by one.

Following is the my bash script recipe, for installing drupal, checking it into a git repository and replicating it remotely.

The second piece of puzzle should be automating MySQL backup and deployment using either Capistrano or Vlad.

[Read more →]

October 29, 2009   3 Comments

In the town called Workflow, lived three friends – Git, CVS and Drupal….

Moving ahead on the new project, I decided to install a versioning system. I kinda have a crush on Git, however have not been using it regularly. So what better time to rekindle the old fire?

I have used SVN in the past, however CVS is still the old faithful dog hosting Drupal repositories. I wanted to concentrate on using Git, while wanted easy way to update drupal installations.

After a number of blog reads, here is my workflow (atleast planned one…)

Git Drupal Workflow.png

[Read more →]

March 2, 2009   2 Comments