adding files to git
[eostre.git] / files / install-drupal-toolchain.sh
CommitLineData
1c66ee26 1#!/bin/bash -xe
2
3# install composer
4curl -sS https://getcomposer.org/installer | php
5mv composer.phar /usr/local/bin/composer
6
7# use composer to install drush7 and the drush launcher
8cd /var/www/html
9composer require drush/drush:8.*
10wget -O drush.phar https://github.com/drush-ops/drush-launcher/releases/latest/download/drush.phar
11chmod +x drush.phar
12mv drush.phar /usr/local/bin/drush
13
14# use vendor/bin/drush to download drupal
15cd /var/www/html
16vendor/bin/drush dl drupal-7