Skip to content

kb-dk/valhal_classic

Repository files navigation

Build Status

Valhal

Valhal - SIFD management. Note that as of December 2014, this is no longer in active development. To accomodate a new Bibframe based data model, the code has been substantially refactored in a new repository. This repository will continue to exist to facilitate migration of relevant functionality.

GIT checkout of repository

git clone https://gitusername@github.com/Det-Kongelige-Bibliotek/valhal.git

Replace 'gitusername' with your own gitusername. This is necessary, if you want to push commits back to master branch.

Software requisites

The Hydra part of valhal has the same basic software requisites as the Hydra-Head component (Ruby, Rails, etc.).

RabbitMQ. Note that RabbitMQ depends on Erlang.

ImageMagick-devel (on RHEL6 run ’yum install ImageMagick-devel’ with repo ’rhel-x86_64-server-optional-6’) (on Ubuntu run ’apt-get install libmagickwand-dev’).

File Information Tool Set (FITS), http://projects.iq.harvard.edu/fits/downloads. Set environment variable FITS_HOME to the fully qualified file name of the FITS script. We have tested with FITS 0.6.2

RubyMine setup for developers

In RubyMine chose File->Open Directory and select the valhal directory. RubyMine should automatically integrate with the valhal Git repository.

Run

In the config directory, create an application.local.yml file based on the application.local.template.yml file.

Run RabbitMQ on default port - 5672 (on RHEL6 there might be a Qpid daemon running on port 5672 already)

$ bundle install

$ rake db:migrate

$ rake jetty:clean

$ rake hydra:jetty:config

$ rake jetty:start

The tests can be run by:

$ rake

The interface can be started on localhost:3000 by:

$ rails server

Stopping valhal

use "ctrl-c" for stopping the rails server then stop the jetty application with "rake jetty:stop"

About

SIFD Forvaltning project

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors