This repo contains the Dockerfiles and custom utilities for running the main UC Davis Library website.
Most src code will be found in either the theme or plugins.
Basic maintenance will need to be performed every few months to ensure that all dependencies stay up-to-date and patched.
Timber is a framework that organizes Wordpress into a more object-oriented approach, and enables the use of the twig templating language.
To update, find most recent release, and update composer.json
file.
Apache, PHP, and Wordpress versions are all controlled by the official WP docker image. Generally, not specifying the Apache/PHP version is fine, e.g. wordpress:6.7.1
.
In devops/Dockerfile
, update the Wordpress stage of the build: FROM wordpress:6.7.1 AS wordpress
All third-party plugins are stored in Google Cloud Storage in the wordpress-general bucket in the digital-ucdavis-edu project.
You will need to go through each item in the table below, and:
- Check if there has been an update
- Download the new version
- Rename the file if necessary
- Upload to corresponding directory in bucket
- Update
devops/Dockerfile
with new version number
Plugin | Download Website |
---|---|
ACF Pro | https://www.advancedcustomfields.com/my-account/view-licenses/ |
Broken Link Checker | https://wordpress.org/plugins/broken-link-checker/ |
Defender Pro | https://wpmudev.com/project/wp-defender/ |
Forminator Pro | https://wpmudev.com/project/forminator-pro/ |
Hummingbird Pro | https://wpmudev.com/project/wp-hummingbird/ |
Gallery Block Lightbox | https://wordpress.org/plugins/gallery-block-lightbox/ |
Redirection | https://wordpress.org/plugins/redirection/ |
SMTP Mailer | https://wordpress.org/plugins/smtp-mailer/ |
Smush Pro | https://wpmudev.com/project/wp-smush-pro/ |
User Role Editor | https://wordpress.org/plugins/user-role-editor/ |
WPMU DEV Dashboard | https://wpmudev.com/project/wpmu-dev-dashboard/ |
The login credentials for wpmudev can be found in Google Cloud Secret Manager.
After downloading, you will have to rebuild your local images to see the updates.
See the main-wp-website-deployment repository.