Posts
Call it The GCDLADB if you like.
New Blog Style and Features 1 min read Mar 10, 2020
Welcome to my new blog theme/style with new features. All of the content, aka ‘posts’, from my old blog have been moved here, but there are still lots of remnants of the new theme, Zzo, lurking here. Please be patient with this new format while I work to fully implement all the features that this setup provides. Also, thank you, Mackenzie. My daughter played an important role in helping me with this transition. And it’s time to do some real work… I’ll be back to share more here soon. ...
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. ...
Archiving What Git Ignores 3 min read Feb 26, 2020 | Updated: Feb 27, 2020 15:14
I love git and GitHub, and I can certainly appreciate the usefullness of .gitignore, but there are times when I’d really like to move an ENTIRE project to a new home. I have in my head a process that might play out like this… Fetch a list of all the files and directories that .gitignore is ignoring. Pass that list to a tar or gzip command (maybe two of them) with encryption to create a secure, compressed archive. Commit the archive to the project repo in GitHub, or keep it in a safe place for restoration in the future. ...
How to Create a New GitHub Repo from an Existing Branch 1 min read Feb 26, 2020
I just found a handy git/GitHub workflow in a Quora post titled “How do I create a new GitHub repository from a branch in an existing repository?”. And I used it, successfully, to create a new GitHub repo for my updated Drupal 8 rendition of the Wieting Theatre’s website. The new GitHub repo is wieting-D8-DO and it was created from the wieting branch of docker-compose-drupal. The commands I used looked something like this: cd ~/GitHub git clone https://github.com/SummittDweller/docker-compose-drupal.git cd docker-compose-drupal git checkout master git reset --hard origin/wieting git checkout wieting git remote rm origin git remote add origin https://github. ...
Migration to Lando 7 min read Feb 17, 2020 | Updated: Feb 20, 2020 22:25
I have ITS tickets, for seemingly simple DNS changes, that are now more than a month old, and because of that I’ve taken steps to try and do some ISLE staging work on one of my DigitalOcean droplets, namely summitt-services-droplet-01. In order to accommodate that I’ve moved nearly all of the sites and services from that droplet to my other, summitt-dweller-DO-docker. The site migration was a smooth process except for https://Wieting.TamaToledo.com. That Drupal 8 site has been difficult to upgrade and migrate largely because it was deployed using my old Port-Ability scripts, and about a year ago I scrapped Port-Ability in favor of Docksal, but I never got around to moving that particular site to a Docksal environment. ...
Installing ZSH in Catalina 1 min read Feb 12, 2020
These days I like to do all my terminal/command-line work in zsh, more specifically, with Oh My ZSH! and the bira theme. This previous post described the process I used on each of my Linux servers, and this post is similar, but written specifically for my Catalina (Macintosh OS X v10.15.x), workstations. This is how I installed and configured zsh, and some other goodies, on my student Mac Mini workstation, MA6879… brew update brew install nano zsh chsh -s /bin/zsh mark exit # log back in after this echo $SHELL brew install wget git hugo docker # Docker and Hugo added just for good measure wget https://github. ...
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. ...