Commit 2bc2e880 authored by Chris Shantz's avatar Chris Shantz

Updated wcms-settings to install npm and correct version of gulp.

parent d2e6c8b1
START=$(date +%s)
##Install npm because it doesn't seem to install as part of nodejs
apt-get update
apt-get install npm -y
## Download Drupal and then copy it to the drupal7alt folder
drush dl -v -d drupal-7.67 --destination="/var/www" --drupal-project-rename="drupal7" -y
cp -r /var/www/drupal7/. /var/www/drupal7alt
......@@ -179,9 +183,16 @@ chmod u+x /usr/local/bin/bash_aliases/
./ drupal7
echo "symlinks created for publication and conference themes"
## Install the latest npm and gulp so we have them for responsive sites.
npm install npm@latest -g
npm install gulp -g
npm install bower -g
## .drush/cache/usage file seems to start off owned by root, change perms
chown -R vagrant:www-data /home/vagrant/.drush
END=$(date +%s)
DIFF=$(( $END - $START ))
echo "It took $DIFF seconds"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment