Skip to content

RepoCamp/ascteam2

Repository files navigation

Advanced Samvera Camp 2018 Team 2 code repo

Build Status Coverage Status

We encourage particpation from throughout the library and opensource communities. In order to ensure that everyone can enjoy a safe, welcoming, and resprectful enviornment, please familiarize yourself with the Samvera Community Code of Condct.

For more information on how to use this repository, please visit the WIKI.

Development Setup

First, ensure you can checkout the project and run the test suite:

$ git clone https://github.com/RepoCamp/asc2018.git camping; cd camping
$ bundle install
$ bin/rails ci

You should see a single passing test.

Review the Hyrax prerequisites. You will need to have items 4--7 installed locally (Solr, Fedora, and SQLite are provided).

Now try standing up the development server. Make sure Redis is running ($ redis-server) and then do:

$ bin/rails hydra:server

And in a separate terminal:

$ bin/rails db:setup
$ bin/rails hyrax:default_admin_set:create

Make sure you have Redis running (in another separate terminal):

$ bundle exec redis-server

By default we are using Sidekiq in the development environment for background jobs. You'll need to have it running in another tab:

sidekiq

At this point, you should be able to browse to http://localhost:3000, create a new user and deposit an item.