Skip to content
This repository has been archived by the owner on Oct 31, 2020. It is now read-only.

projectblacklight/blacklight_summit_princeton_demo

Repository files navigation

Blacklight example for Princeton Blacklight Summit workshop

System dependencies

  • Ruby 2.3 or greater
  • Java 8 or greater

GoRails provides a tutorial for preparing your machine for Rails development on OS X and Linux.

Getting Started

Cloning the project:

$ git clone git@github.com:projectblacklight/blacklight_summit_princeton_demo.git # preferred, or:
# $ git clone https://github.com/projectblacklight/blacklight_summit_princeton_demo.git # or:
# download https://github.com/projectblacklight/blacklight_summit_princeton_demo/archive/master.zip

$ cd blacklight_summit_princeton_demo

Installing the dependencies:

$ bin/setup
# this runs `bundle install`, `rake db:setup`, and does environment sanity checks

Running the tests:

$ bundle exec rake

Running the rails server:

$ bundle exec rails server

Starting solr:

# in a new terminal:
$ bundle exec solr_wrapper -p 8983 -n blacklight-core -d solr/conf -i tmp/solr

Indexing data into solr:

Download our [sample MARC data] (https://github.com/projectblacklight/blacklight-data/archive/master.zip).

$ MARC_FILE=../path/to/the/blacklight-data/lc_records.utf8.mrc bundle exec rake solr:marc:index

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •