This is the codebase for the SearchWorks redesign.
--without production deployment flag
After cloning the repository
$ bundle install $ rake searchworks:install
The installation script will
- Migrate the database
- Download jetty to the rails root if does not already exist.
- Unzip the downloaded jetty
- Copy over local solr configuration and schema
- Index the local development/test fixtures
You will need to update the configuration in
config/settings.yml for various parts of the app to work. Please check that file for more information.
$ rake jetty:start
$ cd jetty $ java -jar start.jar
Start the rails app
$ rails s
There are two testing tasks:
rake ci and
This is intended for running tests against the fixtures in the local index.
$ rake ci
This is intended for running production data integration tests against the remote index.
$ TEST_SOLR_URL=http://example-solr.stanford.edu:8983/solr rake jenkins