Current production Oregon Digital running Fedora 3 and Hydra 6.
New development is focused on Oregon Digital 2: http://github.com/OregonDigital/oregondigital_2
Connected projects:
- csv2bag - bulk ingest from CSV
- cdm2bag - bulk ingest from CONTENTdm
- ControlledVocabularyManager - Rails app + Marmotta powering OpaqueNamespace.org
Requires Ruby 2.0
git clone [email protected]:OregonDigital/oregondigital.git
cd oregondigital
bundle install
rake db:migrate
git submodule init
git submodule update
rake hydra:jetty:config
Symlink media directories:
ln -s /path/to/rails/media public/media
ln -s /path/to/rails/media/thumbnails public/thumbnails
Install memcached if needed, or make sure it's running (needed for login sessions):
- Ubuntu:
sudo apt-get install memcached
- Mac/Homebrew:
brew install memcached
- Other: http://memcached.org/downloads
Start the servers:
rake jetty:start
rails server
Requires Git, VirtualBox, and Vagrant. Also requires 3 gigs of RAM to be available for the VM which vagrant creates.
Option 1: manual submodule setup:
git clone [email protected]:OregonDigital/oregondigital.git
cd oregondigital
git submodule init
git submodule update
Option 2: automatic submodule setup:
git clone [email protected]:OregonDigital/oregondigital.git --recursive
cd oregondigital
Either way, you then tell vagrant to download and start the virtual machine:
vagrant up
vagrant ssh
After vagrant ssh
you'll be logged into the VM. From there, you'll want to
start the Rails server:
cd /vagrant
rails server
You can browse the app via http://localhost:3000
, and check on the jetty
container (which houses solr and fedora) at http://localhost:8983
.