Rebranding CV to HAT with Pagefind

Today I’m rebranding the Tama-Toledo Community Visioning (CV) site to Hometown Action Team (HAT) and adding Pagefind.

When doing so I get this build error…

Warning: Running in pre-1.0 compatibility mode. Pagefind 1.0 changes the default output directory from /_pagefind/ to /pagefind/ but references to the /_pagefind/ URL were found on your site, and the output directory is unconfigured. To preserve your setup, the search files have been written twice, to both /_pagefind/ and /pagefind/

To remove this warning, either update your script and style references to the new /pagefind/ URL or run Pagefind with --output-subdir _pagefind to ensure pre-1.0 behaviour

Continue Reading »

A Newer Pagefind Enabled Blog!

It’s deja vu all over again. My timeline module doesn’t work with the current rendition of https://blog.SummittDweller.com and I can’t figure out what’s broken. So, I’ve resurrected my old personal blog project and updated with the meager content it was missing. That project has a working timeline but no Pagefind search, yet.

So, how might I ONCE AGAIN approach combining Hugo with Pagefind in the cloud? Well, A Powerful Blog Setup with Hugo and NPM* by Tom Hombergs looked like a promising place to start. The process that Tom advocates leverages a neat little package called hugo-bin.

Continue Reading »

A New Pagefind Enabled Blog!

So, node and npm are maybe not “all the rage” these days, but they do the job nicely for me.

So, how might I ONCE AGAIN approach combining Hugo with Pagefind in the cloud? Well, A Powerful Blog Setup with Hugo and NPM* by Tom Hombergs looked like a promising place to start. The process that Tom advocates leverages a neat little package called hugo-bin.

*The links provided above and below are to a Wayback Machine capture of the original post.

Continue Reading »

Spinning Up StaticCMS

Today is Saturday, January 13, 2024, and I won’t be able to watch the KC Chief’s wildcard playoff game vs. the Miami Dolphins tonight because it is streaming ONLY on Peacock, and I refuse to pay them for the “privilege” to watch it live.  So, I’m going to do something productive instead.  Let’s see if I can spin up an instance of StaticCMS to provide an OPEN CMS for the content editor(s) behind the Wieting Theatre website.  

Continue Reading »
Time for a New Static CMS Approach

Wow, it’s been way too long since I posted here.  So much has happened, and been missed along the way.  Time to fix that and I’m going to start with a re-write of the Wieting Theatre website using staticcms/core.  Watch for a full blog post coming soon!

Improving My Azure Blob Storage

I use Azure Blob Storage quite a bit these days, at work and here at home. Recently a student I’ve been working with turned my attention to this post from Microsoft and this week I’m going to take a crack at putting it to use, perhaps in association with this blog.

Building My First Steamlit App

I’ve been wanting to give Streamlit a try for some time now. Recently, I found Streamlit DataScience Apps, a GitHub repo full of Streamlit apps, written by Jcharis. In particular, I thought I would take the Job_Search_App_with_Streamlit_Forms_n_GithubAPI code for a spin.

First step, I created a new ~/GitHub/ code directory on my Mac; I named my directory ~/GitHub/job-search-app-with-streamlit-forms. The plan was to work in that directory inside VSCode with all the project requirements housed in a Python virtual environment (.venv) there.

Continue Reading »

Upgrading Matomo PHP

This afternoon I’m adding https://digital.grinnell.edu (site ID is 17) to my own Matomo instance and I’m prompted to upgrade PHP on that Matomo droplet (DigitalOcean). I did so quite easily following Upgrade PHP from 7.2 to 7.4 on CentOS 8 and Apache. I’ve also updated my Drupal version, and some modules, in https://digital.grinnell.edu along with adding the matomo module, but that module is now reporting:

    The validation of "http://analytics.summittservices.com/matomo.php" failed with error "Error opening socket ssl://analytics.summittservices.com:443" (HTTP code 0).
    The validation of "https://analytics.summittservices.com/matomo.php" failed with error "Error opening socket ssl://analytics.summittservices.com:443" (HTTP code 0).

Hmmm…wonder what’s up with that?

Continue Reading »
Streamlit Apps Fork

This morning I found some new Streamlit resources from developer Jcharis, and I forked his Jcharis/Streamlit_DataScience_Apps to make my own copy at SummittDweller/Streamlit_DataScience_Apps

Now I’m going to try and get the component Simple_CRuD_Blog_App_with_Streamlit working locally as a proof-of-concept. Since I can’t “clone” the single project repo, and a “sparse checkout” seems wasteful since I’ll never push back to the original project, I’m going to git init an entirely new local named simple-CRuD-blog-app-with-streamlit and just copy/paste the contents.

It works!

Fixing Wieting Guild Pages

Just the other day I got an updated copy of the Wieting Theatre’s volunteer roster and assignment schedule. As I’m trying to post them to the theatre’s management website (it’s password protected) I keep having issues with npm and dependencies that won’t compile. The fix, thus far has included a local command stream like this:

cd wieting-guild-pages
git pull
code .
npm run build
npm run start 
  --> failed
npm update
npm audit fix
npm run build
npm run start
  --> failed
npm audit fix --force
npm run build
  --> failed
npm install axios
npm run build
  --> failed
npm update
npm run build

The last errors had this in common:

Continue Reading »