The OSF Digital Archive is a digital repository for audio / video assets from the Oregon Shakespeare Festival archives.
The implementation is derived from Project Hydra's Sufia 6.2.0
See https://github.com/projecthydra/sufia
Download and install VirtualBox from:
https://www.virtualbox.org/wiki/Downloads
Download and install Vagrant from:
https://www.vagrantup.com/downloads.html
Clone the project into a workspace
cd ~/workspace/
git clone [email protected]:OregonShakespeareFestival/digital-archives.git
Download and spin up the virtual machine
vagrant up
Enter the virtual box
vagrant ssh
Install gems
bundle
Create the database
rake db:create
rake db:migrate
rake db:seed
The first time you spin up the vagrant box you must initialize the docker images (fedora/solr)
./bin/init-docker.sh
When starting up the vagrant box anytime after that you can simply run
./bin/start-docker.sh
Docker services can be restarted by first issuing the following commands. This will erase all data stored in them.
./bin/destroy-docker.sh
./bin/start-docker.sh
rails s
You can reach the application at http://localhost:3000/
Resque queues can be spun up the old fashioned way with the following command.
QUEUE=* rake resque:work
Resque pools can be used alternatively. Place the included resque-pools.yml
file in the application config directory and spin up resque in the background with the following command.
resque-pool --daemon --environment development start
Admin users are defined in the seeds file.
Fedora Commons and Solr can be accessed on port 8983
fedoraCommons username: fedoraAdmin, password: fedoraAdmin
solr