Skip to content

Instantly share code, notes, and snippets.

Mark McFate McFateM

Block or report user

Report or block McFateM

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@McFateM
McFateM / local.env
Created Nov 3, 2019
Customized 'local.env'
View local.env
## ISLE Local
## This local.env file is used with / for the docker-compose.local.yml
## Windows user should uncomment the following line:
# COMPOSE_CONVERT_WINDOWS_PATHS=1
## Database (SQL)
### MySQL root password
@McFateM
McFateM / MODS_Master_Rev_14.twig
Created Oct 1, 2019
Digital_Grinnell_MODS_Master Twig Template for IMI, revision 14
View MODS_Master_Rev_14.twig
<?xml version="1.0" encoding="UTF-8"?>
{# Digital_Grinnell_MODS_Master.twig Revision 14
This TWIG template for IMI import is intended to serve as a general-purpose
starting point for MODS import into Digital Grinnell.
The canonical copy of this Twig is part of a 4-tab Google Sheet named
Digital_Grinnell_MODS_Master. Its address is: https://docs.google.com/spreadsheets/d/1G_pQgKJwtgBZYDAHcMC7dCTOnwexIYGHjarHPFKaAOg
@McFateM
McFateM / gist:c5def81467d2dfc9c378c4637a690104
Created Aug 8, 2019
local.sh For 034-Building-ISLE-1.2.0-ld.md
View gist:c5def81467d2dfc9c378c4637a690104
#!/bin/bash
# Replace the following with your intended Local environment values
# Add the name of your local site name to .localdomain.key e.g yourprojectnamehere.localdomain.key
# Add the name of your local site name to .localdomain.pem e.g yourprojectnamehere.localdomain.pem
# Add the name of your local site name to CN=.localdomain e.g CN=acyourprojectnamehereme.localdomain
openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout ../../../config/proxy/ssl-certs/dg.localdomain.key -out ../../../config/proxy/ssl-certs/dg.localdomain.pem \
-subj "/C=US/O=Islandora Collaboration Group/OU=Domain Control Validated/CN=dg.localdomain"
@McFateM
McFateM / gist:7af92bb51a239d1a36df06a4fa629a94
Created Aug 8, 2019
local.env for 034-building-isle-1.2.0-ld
View gist:7af92bb51a239d1a36df06a4fa629a94
## ISLE Local
## This local.env file is used with / for the docker-compose.local.yml
## Windows user should uncomment the following line:
# COMPOSE_CONVERT_WINDOWS_PATHS=1
## Database (SQL)
### MySQL root password
@McFateM
McFateM / 021-rebuilding-isle-ld.md
Created Jul 6, 2019
ISLE.localdomain Database Restore Warnings
View 021-rebuilding-isle-ld.md
User warning: The following module is missing from the file system: masquerade. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/includes/bootstrap.inc).
User warning: The following module is missing from the file system: announcements. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/includes/bootstrap.inc).
User warning: The following module is missing from the file system: dg7. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/includes/bootstrap.inc).
User warning: The following module is missing from the file system: email. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/includes/bootstrap.inc).
User warning: The fol
@McFateM
McFateM / 021-rebuilding-isle-ld.md
Created Jul 5, 2019
ISLE.localdomain Output from IMI Install
View 021-rebuilding-isle-ld.md

root@f074939ac338:/var/www/html/sites/default# cd /var/www/html/sites/all/modules/islandora root@f074939ac338:/var/www/html/sites/all/modules/islandora# git clone https://github.com/mnylc/islandora_multi_importer.git Cloning into 'islandora_multi_importer'... remote: Enumerating objects: 14, done. remote: Counting objects: 100% (14/14), done. remote: Compressing objects: 100% (11/11), done. remote: Total 970 (delta 5), reused 8 (delta 3), pack-reused 956 Receiving objects: 100% (970/970), 647.07 KiB | 3.11 MiB/s, done. Resolving deltas: 100% (670/670), done. root@f074939ac338:/var/www/html/sites/all/modules/islandora# chown -R islandora:www-data *

@McFateM
McFateM / 021-rebuilding-isle-ld.md
Created Jul 5, 2019
ISLE.localdomain Output from Theme Install
View 021-rebuilding-isle-ld.md

╭─markmcfate@ma8660 ~/Projects/ISLE ‹ruby-2.3.0› ‹ld*› ╰─$ docker exec -it isle-apache-ld bash root@9bec4edd3964:/# cd /var/www/html root@9bec4edd3964:/var/www/html# root@9bec4edd3964:/var/www/html# cd /var/www/html/sites/all/themes root@9bec4edd3964:/var/www/html/sites/all/themes# git clone https://github.com/drupalprojects/bootstrap.git Cloning into 'bootstrap'... remote: Enumerating objects: 12635, done. remote: Total 12635 (delta 0), reused 0 (delta 0), pack-reused 12635 Receiving objects: 100% (12635/12635), 2.83 MiB | 5.60 MiB/s, done.

@McFateM
McFateM / gist:98d09fdcc29f88ac88bf7b3cbfb8324d
Created Jul 3, 2019
ISLE local Drupal install script output - 3-July-2019
View gist:98d09fdcc29f88ac88bf7b3cbfb8324d
Using Drush makefile to create sample Drupal site within /tmp/drupal_install
Beginning to build /utility-scripts/isle_drupal_build_tools/isle-drush_make/drupal.drush.make. [ok]
drupal-7.67 downloaded. [ok]
Project views_bulk_operations contains 2 modules: views_bulk_operations, actions_permissions.
views_bulk_operations-7.x-3.5 downloaded. [ok]
Project admin_menu contains 3 modules: admin_menu_toolbar, admin_devel, admin_menu.
admin_menu-7.x-3.0-rc6 downloaded.
View gist:f5e72ad7c4bf2e5719165db5cb6bb4ed
[islandora@dgdocker1 ISLE]$ time docker exec -it isle-apache-dg bash /utility-scripts/isle_drupal_build_tools/grinnell_installer.sh | tee ~/install.out
Using Drush makefile to create sample Drupal site within /tmp/drupal_install
Beginning to build [ok]
/utility-scripts/isle_drupal_build_tools/isle-drush_make/drupal.drush.make.
drupal-7.61 downloaded. [ok]
Project admin_menu contains 3 modules: admin_menu_toolbar, admin_devel, admin_menu.
admin_menu-7.x-3.0-rc6 downloaded. [ok]
announcements-7.x-1.x-dev downloaded. [ok]
Project ctools contains 10 modules: views_content, term_depth, stylizer, page_manager, ctools_plugin_example, ctools_custom_content, ctools_ajax_sample, ctools_access_ruleset, bulk_export, ctools.
ctools-7.x-1.14 downloaded. [ok]
@McFateM
McFateM / gist:c97538057b3aff1c162dc83c12430cae
Last active Dec 8, 2018
Output from isle_islandora_installer.sh for ISLE Build of Digital.Grinnell
View gist:c97538057b3aff1c162dc83c12430cae
[islandora@dgdocker1 ISLE]$ time docker exec -it isle-apache-dg bash /utility-scripts/isle_drupal_build_tools/isle_islandora_installer.sh
Using Drush makefile to create sample Drupal site within /tmp/drupal_install
Beginning to build /utility-scripts/isle_drupal_build_tools/isle-drush_make/drupal.drush.make. [ok]
drupal-7.61 downloaded. [ok]
Project views_bulk_operations contains 2 modules: actions_permissions, views_bulk_operations.
views_bulk_operations-7.x-3.5 downloaded. [ok]
Project admin_menu contains 3 modules: admin_menu_toolbar, admin_devel, admin_menu.
admin_menu-7.x-3.0-rc6 downloaded.
You can’t perform that action at this time.