Page tree
Skip to end of metadata
Go to start of metadata

These instructions are out of date. Use Getting Started instead.

 

 

These are the instructions to get Hydrant up and running on a RHEL machine. You may already have some of these tools.

Install Hydrant

As the user you want to run the test server as, do the following:

Install developer tools

Install RVM, we'll use RVM to manage Ruby (http://beginrescueend.com/)

bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)

Reload shell environment

source ~/.bash_profile
//OR
source ~/.profile

Install Ruby Enterprise Edition

rvm install ree-1.8.7

If this fails with rubygems not installing, then run:

rvm use ree; rvm reinstall ree-1.8.7

Make sure REE installed correctly

rvm list

Set REE as your default ruby

rvm alias create default ree-1.8.7

Update rubygems

gem update --system

Install bundler for managing dependencies

gem install bundler
 

Setup Hydrant

Go to your workspace, this command will download hydrant source from github to a directory.  Then run bundle install to install all of the necessary dependency gems.

git clone git://github.com/variations-on-video/hydrant.git
cd hydrant 
bundle install

Prepare the databases

rake db:migrate
rake db:test:prepare

Install the hydra-jetty submodule.  This contains fedora and solr and can be run via jettywrapper rake tasks (e.g. rake jetty:start)

git submodule init
git submodule update
cd jetty/
git fetch --tags 
git checkout master 
cd .. 

Start jetty

rake jetty:config
rake jetty:start

Test Hydrant

Inside hydrant folder, run

rails server -d

Navigate to http://localhost:3000

Sign up as archivist1@example.com

Install Matterhorn

Follow the instructions on Matterhorn wiki.

After installing MacPorts, do this:

export PATH=$PATH:/opt/local/bin
export MANPATH=$MANPATH:/opt/local/share/man
export INFOPATH=$INFOPATH:/opt/local/share/info

Run interactive menu for installing 3rd party tools

This may take a LONG time to run so have something else to keep you busy!

cd /opt/matterhorn/matterhorn_trunk/docs/scripts/3rd_party
 ./menu3p
  • No labels