Upload
others
View
10
Download
0
Embed Size (px)
Citation preview
http://knowclassic.com
Creating and Deploying Drupal Distributions
Mark Shropshire (@shrop)
Sunday, June 10, 12
http://knowclassic.com
Distribution components?
• Drupal core
• Supporting modules, themes and libraries
• Installation profiles
• Features/General distribution modules
Reference: http://drupal.org/documentation/build/distributions
Sunday, June 10, 12
http://knowclassic.com
Types of distributions• Full-featured distributions
• Built for a particular use case and usually updatable
• Other distributions
• Quick starts for developers and site builders
Reference: http://drupal.org/documentation/build/distributions
Sunday, June 10, 12
http://knowclassic.com
Tools
• Drush + Drush Make
• http://drupal.org/project/drush
• http://drush.ws/help/5
• drush make-generate
Sunday, June 10, 12
http://knowclassic.com
Tools• Profiler
• Less code and more configuration using drush make style
• Sub install profiles
• http://drupal.org/project/profiler
Sunday, June 10, 12
http://knowclassic.com
Tools
• Features
• See DrupalCamp Charlotte Session: “Rapid Drupal Development using the Features Module” - Matthew Connerton
• http://drupal.org/project/features
Sunday, June 10, 12
http://knowclassic.com
Packaging for drupal.org
• Docs
• http://drupal.org/node/642116
• Drupal.org Drush
• http://drupal.org/project/drupalorg_drush
Sunday, June 10, 12
http://knowclassic.com
Distribution filesdistro.infodistro.profiledistro.installdistro.makedistro-stub.make
Reference: http://drupal.org/node/1022020
Sunday, June 10, 12
http://knowclassic.com
Deployment with manual install
• Download Drupal core
• Download the distribution files to the “profiles” folder in the root of Drupal
• Follow the usual Drupal install instructions and select the proper install profile
Sunday, June 10, 12
http://knowclassic.com
Deployment with scripts
• You can write your own deployment scripts. or....
Sunday, June 10, 12
http://knowclassic.com
Deployment with Aegir• You can use Aegir and benefit from open
source
• See DrupalCamp Charlotte Session: “Continuous Drupal deployment with Aegir, Git, and Jenkins” - Zach Seifts
• http://community.aegirproject.org
Sunday, June 10, 12
http://knowclassic.com
Local deployment with drush qd
• Drush core-quick-drupal:Download, install, serve and login to Drupal with minimal configuration and dependencies.
• Also, drush si
Sunday, June 10, 12
http://knowclassic.com
Demo
http://drupal.org/project/openblog
Sunday, June 10, 12
http://knowclassic.com
Demo$ drush make openblog-stub.make openblog-demo
$ drush qd --profile=openblog --use-existing --root=/Users/Shared/openblog/openblog-demo/drupal --cache -y --watchdog
Sunday, June 10, 12