Skip to content

Modules and Themes

LISA HAITZ edited this page Jan 13, 2023 · 11 revisions

Overview

The package of Omeka S doesn’t come with any modules, and only one theme, the default theme.

  • In general, content is not included in GIT. This includes modules and themes.This insures content is not overwritten.

Installation of Modules and Themes

  • Generally,we take the modules folder (and subfolders) from your previous version and just carry them over to the new one.
  • The modules and themes directory will be backed up before each update.
  • Updating the base or core is separate from updating the modules.
  • The easiest way to install a module or a theme is to use the module "Easy Install". This lists "official" modules and themes, but also those found on the web in other areas (github ex).
  • Modules and Themes are not included in GIT.

Test Site vs. Production

  • Many modules will be installed on test site, and not on Production

Update Module/Theme Procedure

  • Updates should be done within Omeka S using in- application tools

Git Procedures

  1. sudo su - apache
  2. cd /var/www/omekas
  3. git checkout qa
  4. git pull
  5. git checkout -b modulechanges (if already created, omit -b)
  6. git add .
  7. git status (check for all green)
  8. git commit -m "remove unneeded modules"
  9. git status
  10. git push origin modulechanges
  11. authenticate
  12. go to github.com and create a PR for modules changes branch
  13. (as long as PR is ok, I can merge PR)
  14. git checkout qa (until next upgrade branch)`
  15. git pull origin qa (update the files on the server)`
  16. (see creating change request on wiki page...)