Stories in Ready

OregonDigital_2

Circle CI Coverage Status

Overview

Next version of Oregon Digital on Fedora 4 and Hydra 9. Development site: http://od2-dev.library.oregonstate.edu

New Features:

  • facets are configurable (on/off, label) (planned separate config for homepage, each Digital Collection)
  • oEmbed support to use external viewers
  • enrichment of linked data, alternative titles fetched and indexed

Local Development Setup

Requirements:

  • Ruby Version: 2.0
  • IIIF-compatible image server - see IIIF setup

Configuration and database creation:

Note: To prevent errors, you may need to prefix the rake commands with bundle exec, which can be required in some systems.

git clone git@github.com:OregonDigital/oregondigital_2.git
cd oregondigital_2
bundle install
rake db:migrate
rake jetty:clean
rake jetty:config

Start the servers:

rake jetty:start
rails server

You can go to your browser and open http://localhost:3000, where you can see the Rails app running. When you access http://localhost:8983 Jetty should list the available contexts (solr and fedora)

Run tests with RSpec:

rspec spec

Set up a dev admin user:

rake admin_user

Log in to the app as "admin@example.org" with password "admin123".