This is a customized version of Omeka-S, made for the Smithsonian and Wayne State University Libraries joint project, The Peacock Room.
Install Vagrant, Virtualbox, and git. Then, navigating to the installation folder, type in vagrant up
.
- Linux
- Apache (with AllowOverride set to "All" and mod_rewrite enabled)
- MySql 5.5.3+
- PHP 5.6+ (latest stable version preferred, with PDO, pdo_mysql, and xml extensions installed)
- 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.
- Create a database for Omeka
- Clone repository
- Create
config/database.ini
from the template file in theconfig
directory. Configure accordingly. - Create
config/local.config.php
from the template file in theconfig
directory. Configure accordingly. - Check permissions on
files/
and make sure it is writable by Apache. - Navigate to application's web directory in your browser to finish configuration/setup.
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)
- Commit and push all work to the Github repository.
- Consider creating and using a separate branch for larger features and merge with
master
when complete.
Make a backup copy of your entire site and its database!
- In your local repository, add the Omeka-S remote repository
git pull
as usual. Use themaster
branch for the latest releases.- From the Omeka S root directory, run
gulp deps
to make sure dependencies are up to date. - 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.) - In your web browser, go to your site and run any migrations that are needed.
- Download the latest release from the release page
- Make a copy of your
/config
directory. You will need to restore yourlocal.config.php
anddatabase.ini
files from that copy. - Make a copy of your
/modules
and/themes
directories. - Make a copy of your
/files
directory. - Remove all Omeka S files, and replace them with the files from the updated zip file.
- Replace your original
/config/local.config.php
file, and the/modules
,/themes
, and/files
directories that you copied. - In your web browser, go to your site and run any migrations that are needed.
Omeka uses the following libraries, among others:
Omeka development adheres to the Zend Framework 2 Coding Standards and uses the git-flow branching model.