Forked from Columbia Libraries Unified Search & Discovery
mkdir spectrum-project
git clone [email protected]:mlibrary/spectrum.git spectrum-project/spectrum
git clone [email protected]:mlibrary/spectrum-config.git spectrum-project/spectrum-config
git clone [email protected]:mlibrary/spectrum-json.git spectrum-project/spectrum-json
cd spectrum-project/spectrum
BUNDLE_GEMFILE=Gemfile.dev bundle install --path .bundle
- Get a copy of the config files from the dev server.
tar xf spectrum-dev-config.tar
- Update the values in
.env
fromspectrum-dev-config.tar
. You'll probably use:RAILS_RELATIVE_URL_ROOT=http://localhost:9292/spectrum SPECTRUM_INST_LOCATION_FILES_DIR=config SPECTRUM_SEARCH_GIT_BRANCH=master SPECTRUM_PRIDE_GIT_BRANCH=master REACT_APP_LOGIN_BASE_URL=http://localhost:9292 REACT_APP_SPECTRUM_BASE_URL=http://localhost:9292/spectrum
BUNDLE_GEMFILE=Gemfile.dev bundle exec rake assets:precompile
BUNDLE_GEMFILE=Gemfile.dev bundle exec rackup
Spectrum is the server-side support for Search. It is intended to mediate requests to solr and summon as a back-end interface to support library Search.
-
- Spectrum-config handles individualized configuration of the targets searchable in the front-end. It works a lot like a jello-mold. Pour the user's request into it, get a tasty treat out.
-
- Spectrum-json handles receiving requests from end-users, applying any global normalization to the request, and passing it to the appropriate configuration to make a search against solr or summon.
- Spectrum-json also handles things like taking actions on records, and identifying patron affiliation.