Skip to content

Instantly share code, notes, and snippets.

@dannylamb
Last active August 15, 2017 17:06
Show Gist options
  • Save dannylamb/9bf360d63e8c4a829ff72b75faba2264 to your computer and use it in GitHub Desktop.
Save dannylamb/9bf360d63e8c4a829ff72b75faba2264 to your computer and use it in GitHub Desktop.
Issue 640 Install Script
cd /var/www/html/drupal/web/
/var/www/html/drupal/vendor/bin/drush --y pmu islandora_image
/var/www/html/drupal/vendor/bin/drush --y pmu islandora_collection
/var/www/html/drupal/vendor/bin/drupal config:delete active field.field.media.tn.field_mimetype
/var/www/html/drupal/vendor/bin/drupal config:delete active field.field.media.tn.field_height
/var/www/html/drupal/vendor/bin/drupal config:delete active field.field.media.tn.field_width
/var/www/html/drupal/vendor/bin/drupal config:delete active field.field.media.tn.field_image
/var/www/html/drupal/vendor/bin/drush --y pmu islandora
cd /var/www/html/drupal/web/modules/contrib/islandora
git remote add danny https://github.com/dannylamb/islandora.git
git fetch danny
git checkout issue-640
cd /var/www/html/drupal/web/modules/contrib/islandora_image
git remote add danny https://github.com/dannylamb/islandora_image.git
git fetch danny
git checkout issue-640
cd /var/www/html/drupal
composer require drupal/filehash ^1.1
cd /var/www/html/drupal/web/
/var/www/html/drupal/vendor/bin/drush en -y filehash
/var/www/html/drupal/vendor/bin/drush config-import -y --partial --source="/home/ubuntu/islandora/configs/drupal/"
/var/www/html/drupal/vendor/bin/drush en -y islandora_image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment