ualbertalib / Hydranorth2

[deprecated] Sufia 7 based application
1 stars 2 forks source link

HydraNorth2

Build Status Coverage Status

TODO! Add information to me!

Running the Tests

Setup dependencies and run the test suite:

   $ bundle install
   $ rake db:migrate

You can run the Fedora and Solr servers in one window with:

   $ rake hydra:test_server

And run the test suite in another window:

   $ rake spec

You can then run rubocop with:

  $ rubocop

Or may also use the following rake task to do everything at once (rubocop/setup test servers/run rspec):

  $ rake hydranorth:ci

Configuring Shibboleth

This is not ideal and hopefully a temporary solution. But currently in development you must host your own shibboleth service provider (SP) and connect with http://testshib.org Identiy Provider (IdP) (or use another IdP of your choice) to use authentication in this application. To set this up you can do the following:

Some helpful links for more information:

Building docker image

You can build docker image for Hydranorth2 following precedure below. There is a copy of ualibraries/hydranorth2 image that can be pulled from dockerhub

   docker build -t ualibraries/hydranorth2 .