This application was developed for Ruby 2.1.2, which was the most recently released version of Ruby as of Sept 2014.
export PATH=/Users/yourname/Applications/LibreOffice.app/Contents/MacOS:$PATH
which soffice
should succeedsecret_key_base
in config/secrets.yml.rake secret
Edit config/secrets.yml
secret_key_base
with a new key, which you can generate with rake secret
In general you will want a development instance of both MIRA and Trove running using a shared copy of Fedora and Solr to mimic a production environment. You'll use MIRA to ingest content and edit metadata and Trove to view content and manage collections.
To run a shared copy of hydra-jetty:
bundle exec rake jetty:stop
and bundle exec rake jetty:stop
(from the mira directory)NOTE: If you want to install a stand-alone copy of hydra-jetty and manually populate it with test data
- rails g hydra:jetty
- rake jetty:config
- rake jetty:start
If you are running a shared version of Fedora and Solr, you'll want both applications to use the same data store directory. You can do this by editing the trove/config/application.yml
file to point to the local_object_store where MIRA saves it's binary uploads. If mira and trove are both in subdirectories of the same working directory edit the config/application.yml file and change the development/object_store_root line to read
object_store_root: "<%=Rails.root%>/../mira/tmp/local_object_store"
Ingest some images into MIRA, mark them for display in trove, and publish them to make them visible in trove. If you want to have MIRA and Trove running simulaneously you'll need to start one of the servers on an alternat port (instead of the default port 3000).
Then acccess the server via
You can specify featured items or collections on the homepage by editing the feature_data.yml file appropriately
config/feature_data.yml
as needed.