Skip to content

OregonShakespeareFestival/digital-archives

Repository files navigation

OSF Digital Archives

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

Developing the OSF Digital Archives on Mac OS

One-time Preparations

VirtualBox

Download and install VirtualBox from:

https://www.virtualbox.org/wiki/Downloads

Vagrant

Download and install Vagrant from:

https://www.vagrantup.com/downloads.html

Source code

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

Preparation

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 Server (application server)

rails s

You can reach the application at http://localhost:3000/

Resque (background job workers)

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

Admin users are defined in the seeds file.

FedoraCommons/Solr

Fedora Commons and Solr can be accessed on port 8983
fedoraCommons username: fedoraAdmin, password: fedoraAdmin solr

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published