Académique Documents
Professionnel Documents
Culture Documents
deployment with
drush_make, installation
profiles and features
DrupalCamp Austin
Presented by: 2009
Adrian Rollett & Adam Jensen
Central Web Support
University of North Texas
Twitter: @acrollet @jazzslider
Who are we, anyway?
Image from warmouse.com
Easy automation of deployment
• Features bring
together all the
little pieces that
make up usable,
fully-configured
Drupal
functionality.
From drupal.org/project/drush_make:
• Provides the equivalent of a make script for
Drupal, using Drush.
From the readme file:
Installation
profiles
drush_make + features will give
you this out of the box:
FAIL
What you see after logging in to
an Open Atrium site for the first
time
Wait, aren't installation profiles
bad???
Installation profiles have had a bad rap
for some amount of time. Probably the
chief complaint is the following:
* (perhaps not
anything)
Tips for building Installation
Profiles
• Start with the default profile, and modify it
to your purposes
• The open atrium installation profile is a nice
example
• Always look for an install_profile_api helper
function first
• The name of your profile and the directory
it's in should be the same
• When debugging an install profile, you'll
want php debug output to be on
• Clear *all* caches at the end of your profile
References
• http://drupal.org/project/features
o http://drupal.org/project/exportables
o http://code.developmentseed.org/featureserver/dash
o http://developmentseed.org/blog/2009/jun/24/distribu
• drush_make
o drush_make README
o blog post from mig5.net on drush_make and aegir
o proposed patch for generating makefiles
• Installation Profiles
o Damien McKenna's very helpful post on building insta
Questions?
Thank you!
Adam Jensen
@jazzslider
Adrian Rollett
@acrollet