Sign inSign up

ualibraries/hydranorth2

By ualibraries

Updated over 9 years ago

Automated build for Hydranorth2

Image
0

991

ualibraries/hydranorth2 repository overview

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 SAML

  • Update secrets.yml/omniauth.rb config files for the SAML implementation (you may need to generate a certificate/key for certain environments)
  • Give IST's Identity Provider (uat-login or login) the metadata for our service provider
    • Quick way to view this metadata is to the start the Rails server and navigate to localhost:3000/auth/saml/metadata (feel free to edit this metadata accordingly for example adding Organization and ContactPerson metadata)
  • Once this is complete, login via SAML should be working successfully

(TODO: Provide an alternative to IST? Like TestShib?)

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 .

Tag summary

Content type

Image

Digest

Size

1 GB

Last updated

over 9 years ago

docker pull ualibraries/hydranorth2