Aegir

From Things and Stuff Wiki
Revision as of 01:56, 2 February 2012 by Milk (talk | contribs)
Jump to navigation Jump to search


this page needs a big refactor

Basics

System/process overview

Aegir uses Drupal multisite features to share one Drupal codebase install as a 'platform' between sites. Distributions are equal to platform+site, i.e., turnkey solutions. Content can be shared (migrated) between sites using an updated or different platform (with the same content modules, natch). A platform and site distribution is created from a .make and .info using Drush Make. The Profiler library is installed with the .make and uses a .info file to specify modules to be initialised, including site sections/etc. from the Features module plus configuration settings via the Strongarm module. Provision initialises a site on that platform and installs the platform+site in Aegir. Features and theme are stored using Git, --working-copy can be used to build a dev site then content can be migrated from live for testing. Dev platform is perfected, then rebuilt as live without --working-copy.

Barracuda box setup

Octopus

Like Barracuda, but a satellite Aegir instance with pressflow and other distros.

Aegir usage

Dev/production workflow guides

Drush

Drush is a command-line system for managing Drupal. The backend of Aegir is the Provision module for Drush.

Drush Make

N.b. Drush Make is part of Drush as of Jan 2012.

Example make files


Libraries

Using the Libraries API, make files can specify external libraries to be downloaded.

; CKEditor
libraries[ckeditor][download][type]= "get"
libraries[ckeditor][download][url] =  "http://download.cksource.com/CKEditor/CKEditor/CKEditor%203.4/ckeditor_3.4.zip"
libraries[ckeditor][directory_name] = "ckeditor"
libraries[ckeditor][destination] = "libraries"

Profiles

Profiler library

Features and settings

To do: Features

  • Features enables the capture and management of features in Drupal. A feature is a collection of Drupal entities which taken together satisfy a certain use-case.
  • Strongarm gives site builders a way to override the default variable values that Drupal core and contributed modules ship with. [1]
  • Global variables

Aegir

Provision

Misc tools