This documentation is for Release 5.x, 4.x and 3.x.  For the release 1 and 2 version of this page, see Install Sample Content Using Avalon.

Installation of the sample content is simple, but must be run as the root user from a bash prompt on the Avalon system. The process for this depends on which kind of installation you have.

 


If running a manual installation, a hard link needs to be created so that the sample content rpm can find avalon in the '/var/www/avalon/current' directory.

Example:

ln -s /var/www/avalon/ /var/www/avalon/current


Once you have a root prompt, run rpm with the correct rails environment (RAILS_ENV) for your setup and the correct URL for your version.

#For R5 installs:
RAILS_ENV="production" rpm -i http://www.avalonmediasystem.org/downloads/avalon-sample-content-5.0-1.noarch.rpm
#For R4 installs:
RAILS_ENV="production" rpm -i http://www.avalonmediasystem.org/downloads/avalon-sample-content-4.0-1.noarch.rpm
#For R3 installs:
RAILS_ENV="production" rpm -i http://www.avalonmediasystem.org/downloads/avalon-sample-content-3.0-1.noarch.rpm
#For pre-R3 installs:
RAILS_ENV="production" rpm -i http://www.avalonmediasystem.org/downloads/avalon-sample-content.noarch.rpm

If the install fails and you need to rerun the installation, add the --force flag to the rpm command.

 

Once the sample content has been loaded, you should be able to discover, view, and play it back.  Open a web browser, connect to your avalon instance, and select Sample Collection from the Collection facet on the left side of the page.