A Drush command for scaffolding custom Drupal distributions
- Drush 5.1 or higher - https://github.com/drush-ops/drush
- PHP 5.3.3 or higher with cURL
Composer is a dependency manager for PHP, and Packagist is the main Composer repository. Distro can be found on Packagist as desmondmorris/drush-distro
The easiest way to install Composer for *nix (including Mac):
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.
# Download Distro.
composer create-project desmondmorris/drush-distro $HOME/.drush/distro -s dev --no-dev -n
# Clear Drush's cache.
drush cc drush
composer update --no-dev --working-dir $HOME/.drush/distro
drush distro mynewdistro