Skip to content

Instantly share code, notes, and snippets.

@jhedstrom
Created January 28, 2015 19:43
Show Gist options
  • Save jhedstrom/33e26b2400989fa6416e to your computer and use it in GitHub Desktop.
Save jhedstrom/33e26b2400989fa6416e to your computer and use it in GitHub Desktop.
Drupal with composer
$> drush use @existing-d7-site
$> drush dl composer_generate
$> mkdir /tmp/new-site
$> drush composer-generate > /tmp/new-site/composer.json
$> cd /tmp/new-site
$> composer install
$> composer require drupal/views
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment