These are the instructions to get Avalon up and running on a clean RHEL machine. Your mileage may vary for other Linux distributions.
Install developer tools
Install dependent packages.
Install RVM, we'll use RVM to manage Ruby (http://rvm.io/)
Reload shell environment using instructions given in rvm installation output.
Make sure ruby installed correctly
Install bundler for managing dependencies
Install & setup Git
The next step is for committers.
Create an account on github and set up SSH keys. Detailed instructions
Install Matterhorn dependencies
First install subversion:
Then download Matterhorn's dependency installation scripts:
Read the README.txt file for instructions on how to run the ./menu3p installation script.
This may take a LONG time to run so have something else to keep you busy!
The next step may be slightly different depending on your operating system if not RHEL6. When running bundle install you may need to set: QMAKE=/usr/bin/qmake-qt4
Add the required dependencies so that all gems will install properly.
Go to your workspace, this command will download avalon source from github to a directory. Then run bundle install to install all of the necessary dependency gems.
Prepare the databases
Install the hydra-jetty, avalon-felix, and avalon-red5 submodules. The hydra-jetty submodule contains fedora and solr and can be run via jettywrapper rake tasks (e.g. rake jetty:start). The avalon-felix submodule is a VoV configured instance of Matterhorn and avalon-red5 is a VoV configured instance of Red5 which has Matterhorn integration. These two servers can also be controlled with rake tasks similar to jetty. After installing them, force them to track the master branch for their respective repositories.
Start these services
Inside avalon folder, run
Navigate to http://localhost:3000
Follow instructions for Logging in via IU CAS