samvera-labs / nurax-pre2023

Vanilla-plus Hyrax app for testing and tire-kicking
https://nurax-dev.curationexperts.com
Other
8 stars 18 forks source link

Enable IIIF with Univeral Viewer and RIIIF #183

Closed cjcolvar closed 6 years ago

cjcolvar commented 6 years ago

This works for me locally. I had to copy the IIIF related commented out config from hyrax master's config/initializers/hyrax.rb in order for the RIIIF generator to run successfully. So what I did in order:

  1. Copy default IIIF related config from upstream into config/initializers/hyrax.rb
  2. Edit config/initializers/hyrax.rb by uncommenting config.iiif_image_server and setting it to true
  3. Run rails g hyrax:riiif

Resolves #171.

mjgiarlo commented 6 years ago

@cjcolvar If you have any ideas for how to make this easier, drop some ideas here: https://github.com/samvera/hyrax/issues/2326