- Ruby 2.1 or greater
- Java 7 or greater
GoRails provides a tutorial for preparing your machine for Rails development on OS X and Linux.
Cloning the project:
$ git clone git@github.com:projectblacklight/blacklight_summit_demo.git # preferred, or:
# $ git clone https://github.com/projectblacklight/blacklight_summit_demo.git # or:
# download https://github.com/projectblacklight/blacklight_summit_demo/archive/master.zip
$ cd blacklight_summit_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 -i tmp/solr
Indexing fixture data into solr:
$ MARC_FILE=solr/lc_records.utf8.mrc bundle exec rake solr:marc:index