Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small fixes #30

Merged
merged 1 commit into from
Mar 24, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion scripts/fcrepo.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
echo "Installing Fedora."

# Get shared directory from VagrantFile
SHARED_DIR=$1

if [ -f "$SHARED_DIR/config" ]; then
Expand Down Expand Up @@ -56,7 +57,7 @@ cd /tmp
if [ ! -f "$DOWNLOAD_DIR/fcrepo-drupalauthfilter-3.7.0.jar" ]; then
wget -q -O "$DOWNLOAD_DIR/fcrepo-drupalauthfilter-3.7.0.jar" https://github.com/Islandora/islandora_drupal_filter/releases/download/v7.1.3/fcrepo-drupalauthfilter-3.7.0.jar
fi
cp -v fcrepo-drupalauthfilter-3.7.0.jar /var/lib/tomcat7/webapps/fedora/WEB-INF/lib
cp -v "$DOWNLOAD_DIR/fcrepo-drupalauthfilter-3.7.0.jar" /var/lib/tomcat7/webapps/fedora/WEB-INF/lib
chown tomcat7:tomcat7 /var/lib/tomcat7/webapps/fedora/WEB-INF/lib/fcrepo-drupalauthfilter-3.7.0.jar
cd $FEDORA_HOME/server/config
curl -O https://gist.githubusercontent.com/ruebot/8ef1fd7e5dfcbf6fa1ac/raw/c57b68767fb35d936271ba211c3d563c9b23e5e2/jaas.conf
Expand Down
22 changes: 12 additions & 10 deletions scripts/islandora_modules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,26 +32,28 @@ chmod -R 775 /var/www/html/drupal/sites/all/modules

# Enable all Islandora foundation modules
cd /var/www/html/drupal/sites/all/modules
# Check for a user's .drush folder, create if it doesn't exist
if [ ! -d "$HOME_DIR/.drush" ]; then
mkdir "$HOME_DIR/.drush"
chown vagrant:vagrant $HOME_DIR/.drush
fi
# Mov OpenSeadragon drush file to user's .drush folder
if [ -d "$HOME_DIR/.drush" -a -f "/var/www/html/drupal/sites/all/modules/islandora_openseadragon/islandora_openseadragon.drush.inc" ]; then
mv "/var/www/html/drupal/sites/all/modules/islandora_openseadragon/islandora_openseadragon.drush.inc" "$HOME_DIR/.drush"
fi

drush -y en php_lib islandora objective_forms
drush -y en islandora_solr islandora_solr_metadata islandora_solr_facet_pages islandora_solr_views
drush -y en islandora_basic_collection islandora_pdf islandora_audio islandora_book islandora_compound_object islandora_disk_image islandora_entities islandora_entities_csv_import islandora_basic_image islandora_large_image islandora_newspaper islandora_video islandora_web_archive
drush -y en islandora_premis islandora_checksum islandora_checksum_checker
drush -y en islandora_book_batch islandora_image_annotation islandora_pathauto islandora_pdfjs islandora_videojs islandora_jwplayer
drush -y en xml_forms xml_form_builder xml_schema_api xml_form_elements xml_form_api jquery_update zip_importer islandora_basic_image islandora_bibliography islandora_compound_object islandora_google_scholar islandora_scholar_embargo islandora_solr_config citation_exporter doi_importer endnotexml_importer pmid_importer ris_importer
drush cache-clear drush
drush videojs-plugin
drush pdfjs-plugin
drush iabookreader-plugin
drush colorbox-plugin
#drush openseadragon-plugin -- ISLANDORA-1213 -- Installer is broken
####ISLANDORA-1213 WORKAROUND ############################################
cd /var/www/html/drupal/sites/all/libraries
if [ ! -f "$DOWNLOAD_DIR/openseadragon-bin.zip" ]; then
echo "Downloading OpenSeadragon"
wget -q -O "$DOWNLOAD_DIR/openseadragon-bin.zip" "http://openseadragon.github.io/releases/openseadragon-bin-0.9.129.zip"
fi
unzip $DOWNLOAD_DIR/openseadragon-bin.zip -d $DRUPAL_LIBRARIES
mv $DRUPAL_LIBRARIES/openseadragon-bin-0.9.129 $DRUPAL_LIBRARIES/openseadragon
###########################################################################
drush openseadragon-plugin
drush -y en islandora_internet_archive_bookreader islandora_openseadragon islandora_xmlsitemap islandora_bagit islandora_simple_workflow islandora_fits islandora_marcxml islandora_oai islandora_ocr islandora_xacml_api islandora_xacml_editor islandora_xmlsitemap

#BagItPHP library
Expand Down