The Grinnell College Digital Library Application Developer's Blog
Call it The GCDLADB if you like.
Easily Change GitHub User in OSX 1 min read Nov 18, 2019 | Updated: Aug 26, 2020 13:16
The first step is to run git config -l to see what the current configuration is. If the user.name and/or user.email properties are incorrect, change them using something like this: git config --global user.name "Mark McFate" git config --global user.email "yourEMail@address.here" That’s only half the battle. I love OSX and the Keychain Access app is wonderful, except when I’m working with git and GitHub in a terminal, which I do quite often. The real problem is that I have 4 different identities in GitHub… crazy, I know. ...
Staging Digital.Grinnell (DG) on DigitalOcean (DO) 7 min read Feb 11, 2020 | Updated: Mar 2, 2020 16:13
ISLE v1.3.0 has been running on my staging server, DGDockerX, for months now and it seems to be performing as-expected with one exception… when I try to import a batch of objects using IMI, the Islandora Multi-Importer, I get the following error: The website encountered an unexpected error. Please try again later. Examinations of Recent log messages seem to point to DNS issues that I’m unable to overcome because I have no control over our DNS records, campus networking, or firewalls. ...
ISLE Workflow Test 6 min read Jan 27, 2020 | Updated: Feb 11, 2020 09:19
ISLE v1.3.0 has been running on my staging server, DGDockerX, for about 6 weeks now and it seems to be performing as-expected with one exception… when I try to import a batch of objects using IMI, the Islandora Multi-Importer, I get the following error: The website encountered an unexpected error. Please try again later. An examination of Recent log messages shows… GuzzleHttp\Exception\ConnectException: cURL error 6: Could not resolve host: sheets.googleapis.com (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) in GuzzleHttp\Handler\CurlFactory::createRejection() (line 200 of /var/www/html/sites/all/modules/islandora/islandora_multi_importer/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php). Engaging the Local Workflow Since I’m not at all sure what’s wrong, I feel like I need to rewind my process a bit and try to reproduce the same configuration, and error, on a local instance of this ISLE stack. ...
Hugo, Goldmark and CommonMark Compliance 1 min read Feb 11, 2020
Just making a note here that Hugo, as of version 0.60.0, is now using the Goldmark markdown rendering library, and that library is CommonMark compliant. The official word, from this document states that: Goldmark is from Hugo 0.60 the default library used for Markdown. It’s fast, it’s CommonMark compliant and it’s very flexible. Note that the feature set of Goldmark vs Blackfriday isn’t the same; you gain a lot but also lose some, but we will work to bridge any gap in the upcoming Hugo versions. ...
Pushing ISLE to Staging 7 min read Dec 13, 2019
This post chronicles the steps I took to push my local dg.localdomain project, an ISLE v1.3.0 build, to staging on node DGDockerX as https://isle-stage.grinnell.edu using my dg-isle and dg-islandora repositories. Directories I’ll begin by opening a terminal on the staging host, DGDockerX as user islandora. Then I very carefully (note the use of the --recursive flags!) clone the aforementioned projects to DGDockerX like so: Host / DGDockerX Commands cd /opt git clone –recursive https://github.com/Digital-Grinnell/dg-isle.git git clone –recursive https://github.com/Digital-Grinnell/dg-islandora.git cd dg-isle git checkout staging One Useful Git Config Change One thing I learned during this process is that all of the dg-isle config files that I’ve modified and/or mapped into the containers show up as “modified” when I do a git status on the host. ...
Rebuilding ISLE-ld (for Local Development) 11 min read Dec 1, 2019 | Updated: Dec 4, 2019 10:57
This post replaces my earlier post 021 with the same title. It is intended to chronicle my efforts to build a new ISLE v1.3.0 local development instance of Digital.Grinnell on my work-issued MacBook Air, MA7053. Goal The goal of this project is to spin up a pristine, local Islandora stack using the ISLE project at https://github.com/Digital-Grinnell/dg-isle/, then introduce elements like the Digital Grinnell theme and custom modules like DG7. Once these pieces are in-place and working, I’ll begin adding other critical components as well as a robust set of data gleaned from https://digital. ...
Granular ISLE Customization: Install 'Backup and Migrate' 1 min read Nov 25, 2019
Granular ISLE Customization This post is part of a series describing Digital.Grinnell customizations to ISLE, in a “granular” format… one small customization at a time. An index of all documents in this series is included at the end of Granular ISLE Customization: Series Guidelines. Goal Statement In this “granular” post we will install Backup and Migrate, a tremendous Drupal module that I use extensively for backup, restoration, migration and maintenance of Digital.Grinnell. Install and Enable the Backup and Migrate Module using Drush DG7 is installed and enabled in the same manner as most Drupal or Islandora contrib modules, like so: ...
How to Work with Git 5 min read Nov 19, 2019 | Updated: Nov 20, 2019 15:33
Credits: This document is an abstraction of some fine documentation authored and posted by my ICG colleague and friend, David Keiser-Clark. ICG Git Workflow: How to work with Git The examples in this document use my work with the Islandora Collaboration Group’s (ICG) ISLE-Drupal-Build-Tools repository, as well as my fork and local clone of that repository. I recommend having a look at the GitHub Glossary for a list of terms used frequently in this post, and many of the referenced documents. ...
Moving Omeka-S Data to NFS 2 min read Nov 13, 2019 | Updated: Nov 15, 2019 16:38
Grinnell’s dockerized version of Omeka-S has been running for several weeks now, and we recently ran out of disk space for object data on the host, a CentOS node we named DGDocker2. My posts 041, Configuring DGDocker2 and 042, My dockerized-server Config address the original configuration of DGDocker2 in detail. Omeka-S is configured on DGDocker2 to reside in /opt/omeka-s-docker, and inside that directory is a subdirectory named volume. The portions of the application stack that deliver Omeka-S are configured largely in /opt/omeka-s-docker/docker-compose. ...
DG's ISLE Git Workflow 1 min read Nov 12, 2019
For some time now Digital.Grinnell has been using ISLE in production, with an instance that was built from a “non-standard” workflow, one that was a little different than the Git workflow established in the ISLE install docs. Consequently, DG’s situation is a little different than what’s documented for ISLE, so my mission here is to describe and execute the steps I’m taking to get back into the documented workflow. The steps will involve and achieve the following: Establish a working, local instance of my production DG site with an ISLE-1. ...