Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.41 KB

README.md

File metadata and controls

43 lines (27 loc) · 1.41 KB

Advanced Samvera Camp 2018

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

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