Skip to content

WSULib/peacockroom

Repository files navigation

Peacock Room

This is a customized version of Omeka-S, made for the Smithsonian and Wayne State University Libraries joint project, The Peacock Room.

Installation

Quick (Local) Install

Install Vagrant, Virtualbox, and git. Then, navigating to the installation folder, type in vagrant up.

Hands-On Installation Method

Requirements

Gotchas

  • The default library for generating thumbnails is ImageMagick, at least version 6.7.5. Older versions will not correctly produce thumbnails. See local.config.php options in the documentation.

Installation

  1. Create a database for Omeka
  2. Clone repository
  3. Create config/database.ini from the template file in the config directory. Configure accordingly.
  4. Create config/local.config.php from the template file in the config directory. Configure accordingly.
  5. Check permissions on files/ and make sure it is writable by Apache.
  6. Navigate to application's web directory in your browser to finish configuration/setup.

Development work

This repo is intended to be portable and easily drop-in/installable. It assumes either a machine with a LAMP stack pre-installed (with DB already created) or can create a local environment using Vagrant/Ansible (not yet created)

  1. Commit and push all work to the Github repository.
  2. Consider creating and using a separate branch for larger features and merge with master when complete.

From Omeka-S repo

Make a backup copy of your entire site and its database!

Updating from GitHub Omeka-S Repo

  1. In your local repository, add the Omeka-S remote repository
  2. git pull as usual. Use the master branch for the latest releases.
  3. From the Omeka S root directory, run gulp deps to make sure dependencies are up to date.
  4. Compare changes in /config/local.config.php and /config/local.config.php.dist. Some default configurations might have changed, so you might need to reconcile changes to the distributed configuration with your local configuration (e.g., a path to PHP specific to your server, dev mode settings, etc.)
  5. In your web browser, go to your site and run any migrations that are needed.

Updating from released zip file

  1. Download the latest release from the release page
  2. Make a copy of your /config directory. You will need to restore your local.config.php and database.ini files from that copy.
  3. Make a copy of your /modules and /themes directories.
  4. Make a copy of your /files directory.
  5. Remove all Omeka S files, and replace them with the files from the updated zip file.
  6. Replace your original /config/local.config.php file, and the /modules, /themes, and /files directories that you copied.
  7. In your web browser, go to your site and run any migrations that are needed.

Libraries

Omeka uses the following libraries, among others:

Coding Standards

Omeka development adheres to the Zend Framework 2 Coding Standards and uses the git-flow branching model.

About

An update to the Peacock Room project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published