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 packages required for dependencies to build properly.
Reload shell environment using the instructions given in rvm's installation output.
Make sure ruby installed correctly
Install bundler for managing dependencies
Install & setup Git
The next step is for committers.
Install Matterhorn dependencies
You'll need a couple Matterhorn dependencies installed: ffmpeg and MediaInfo.
This may take a LONG time to run so have something else to keep you busy!
If installing ffmpeg with yum doesn't work, or you have dependency problems, you can try installing it from source.
If you're still having trouble, check felix/log/opencast.log and see if there are any exceptions. Also, go to felix/etc/config.properties and make sure matterhorn is pointing to the correct ffmpeg.
Go to MediaInfo's website to install MediaInfo. #Someone should fill more out here.
The next step may be slightly different depending on your operating system if you are not using 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. 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 managed via jettywrapper rake tasks. The avalon-felix submodule is a custom instance of Matterhorn. avalon-red5 is a custom instance of Red5 with Matterhorn integration. These two servers can also be controlled with rake tasks. After installing them, force them to track the master branch for their respective repositories.
Config avalon based upon the Configuration Files page. Note that Matterhorn config files can be put in the felix_conf directory and copied over with the felix:config rake task.
To configure Devise and Blacklight Secret Key, in your avalon directory run the following command:
Copy the output, then create and open the file config/secrets.yml. Like the other yml files, you can have separate sections for development, test and production. Here is a template:
Start all services
To make the startup of avalon easier after a git pull, you can add these functions to your .bashrc script.
From your avalon installation execute
Navigate to http://localhost:3000