Distro
, (*1)
A Drush command for scaffolding custom Drupal distributions, (*2)
Requirements
- Drush 5.1 or higher - https://github.com/drush-ops/drush
- PHP 5.3.3 or higher with cURL
Install with Composer
Composer is a dependency manager for PHP, and
Packagist is the main Composer repository. Distro
can be found on Packagist as desmondmorris/drush-distro, (*3)
The easiest way to install Composer for *nix (including Mac):, (*4)
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
More detailed installation instructions for multiple platforms can be found in
the Composer Documentation., (*5)
Normal installation
# Download Distro.
composer create-project desmondmorris/drush-distro $HOME/.drush/distro -s dev --no-dev -n
# Clear Drush's cache.
drush cc drush
Updating Distro
composer update --no-dev --working-dir $HOME/.drush/distro
Usage
drush distro mynewdistro