A MIRA replacement running on Hyrax 2.0.
Get started by cloning the repository and installing the dependencies:
git clone https://github.com/curationexperts/epigaea.git
cd epigaea
cp .env.sample .env.development
bundle install
bundle exec rails db:setup
bundle exec sidekiq -d -l tmp/sidekiq.log
# open a separate session and run bundle exec rails hydra:server
Other services and settings required:
- MySQL
- Redis
- Path to FITS in the Hyrax initializer
- sidekiq as queue adapter in application.rb:
config.active_job.queue_adapter = :sidekiq
You can run CI with rake
(or rake ci
). Or start a server with rake hydra:server
If you need to re-create derivatives, use these rake tasks:
- One at a time, by id:
RAILS_ENV=production bundle exec rake derivatives:recreate_by_id[2801pg32c]
- Re-create derivatives for all PDF objects:
RAILS_ENV=production bundle exec rake derivatives:recreate_all_pdfs