What is your Drupal workflow?

Since working for Acquia I interact with dozens of different client every day, and even though most use the Acquia Managed Cloud or Acquia DevCloud environments there are varying development methods and workflows used. I thought I would blog about my preferred workflow, then you can tell me about your.

So, this site is Drupal 7, hosted with Acquia Managed Cloud. All of my code is version controlled via git.

Any changes I do to the site I do locally on Acquia DevDesktop, these changes are then pushed to the master git branch which is then auto deployed on my staging environment. Once I have checked this I will push live buy dragging and dropping the stage code to production in the Acquia Network, this creates a tag in git.

All content is added directly on live, I can pull this back to staging within the Acquia Network, and I can replace my local copy from nightly backups.

As I am the only developer on the site all configuration via the Drupal UI I usually do on the production site. This is not big, or clever! I would advise using the features module, and the many add-on modules for features to save configuration changes on the local machine. These can then be pushed via git to staging, then to production. Anything not covered by features I would create a custom module with an install file and update functions. These update functions can make any MySQL commands or function calls needed to make updates. This can be tested on staging by running update.php or drush updb.

I think that covers most things, how do you do it? any questions?

Comments

Awesome. It would be awesome if I could have a system like this on my own server, though...

It doesn't hold you hand so much, but the Aegir hosting system http://community.aegirproject.org/ will manage Drupal sites and codebases and help you move them around.

As explained at Managing your code in the Aegir Style. There is also a great presentation by Nuvole embedded there: "Building and Maintaining a Distribution in Drupal 7 with Features".

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <p> <h1> <h2> <h3> <h4> <blockquote>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.