14
http://knowclassic.com Creating and Deploying Drupal Distributions Mark Shropshire (@shrop) Sunday, June 10, 12

Creating and Deploying Drupal Distributions Charlotte... · Creating and Deploying Drupal Distributions Mark Shropshire (@shrop) Sunday, June 10, 12

  • Upload
    others

  • View
    10

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Creating and Deploying Drupal Distributions Charlotte... ·  Creating and Deploying Drupal Distributions Mark Shropshire (@shrop) Sunday, June 10, 12

http://knowclassic.com

Creating and Deploying Drupal Distributions

Mark Shropshire (@shrop)

Sunday, June 10, 12

Page 2: Creating and Deploying Drupal Distributions Charlotte... ·  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

Page 3: Creating and Deploying Drupal Distributions Charlotte... ·  Creating and Deploying Drupal Distributions Mark Shropshire (@shrop) 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

Page 4: Creating and Deploying Drupal Distributions Charlotte... ·  Creating and Deploying Drupal Distributions Mark Shropshire (@shrop) 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

Page 5: Creating and Deploying Drupal Distributions Charlotte... ·  Creating and Deploying Drupal Distributions Mark Shropshire (@shrop) 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

Page 6: Creating and Deploying Drupal Distributions Charlotte... ·  Creating and Deploying Drupal Distributions Mark Shropshire (@shrop) 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

Page 7: Creating and Deploying Drupal Distributions Charlotte... ·  Creating and Deploying Drupal Distributions Mark Shropshire (@shrop) 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

Page 8: Creating and Deploying Drupal Distributions Charlotte... ·  Creating and Deploying Drupal Distributions Mark Shropshire (@shrop) 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

Page 9: Creating and Deploying Drupal Distributions Charlotte... ·  Creating and Deploying Drupal Distributions Mark Shropshire (@shrop) 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

Page 10: Creating and Deploying Drupal Distributions Charlotte... ·  Creating and Deploying Drupal Distributions Mark Shropshire (@shrop) Sunday, June 10, 12

http://knowclassic.com

Deployment with scripts

• You can write your own deployment scripts. or....

Sunday, June 10, 12

Page 11: Creating and Deploying Drupal Distributions Charlotte... ·  Creating and Deploying Drupal Distributions Mark Shropshire (@shrop) 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

Page 12: Creating and Deploying Drupal Distributions Charlotte... ·  Creating and Deploying Drupal Distributions Mark Shropshire (@shrop) 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

Page 13: Creating and Deploying Drupal Distributions Charlotte... ·  Creating and Deploying Drupal Distributions Mark Shropshire (@shrop) Sunday, June 10, 12

http://knowclassic.com

Demo

http://drupal.org/project/openblog

Sunday, June 10, 12

Page 14: Creating and Deploying Drupal Distributions Charlotte... ·  Creating and Deploying Drupal Distributions Mark Shropshire (@shrop) 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