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.
- Portable VM image:
Open a terminal window from within the VM console, and type
su rootto become the root user. This will require the root password you provided the first time the system was booted.
- Vagrant virtual machine:
From within the original installer directory (from step 4 of the Vagrant Virtual Machine Image Installation Instructions), type
vagrant sshto log in as the vagrant user, then type
sudo -ito become the root user.
- Manual Puppet installed machine:
Log in and become root as you did in steps 1 and 2 of the Manual Puppet Install instructions.
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.
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.
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.