OregonDigital / oregondigital_2

The active development on Oregon Digital 2 is in the https://github.com/OregonDigital/OD2 repo.
Other
1 stars 1 forks source link

OregonDigital_2

Circle CI Coverage Status

Overview

Next version of Oregon Digital on Fedora 4 and Hydra 9.

New Features:

Local Development Setup

Requirements:

Configuration and database creation:

Note: To prevent errors, you may need to prefix the rake commands with bundle exec, which can be required in some systems.

git clone git@github.com:OregonDigital/oregondigital_2.git
cd oregondigital_2
bundle install
rake db:migrate
rake jetty:clean
rake jetty:config

Start the servers:

rake jetty:start
rails server

You can go to your browser and open http://localhost:3000, where you can see the Rails app running. When you access http://localhost:8983 Jetty should list the available contexts (solr and fedora)

Run tests with RSpec:

rspec spec

Set up a dev admin user:

rake admin_user

Log in to the app as "admin@example.org" with password "admin123".