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

hathitrust/search-client

Repository files navigation

Important

This repository is no longer maintained and is not deployed in production, but it may be useful for reference. Some of the functions for batch queries are superceded by ht_full_text_search

Tests Coverage Status Ruby Style Guide

HathiTrust Search Client

This application allows users to search the HathiTrust catalog Solr index and download metadata for the results.

Getting Started

docker-compose build web docker-compose run --rm web bundle install

Running Tests

docker-compose run --rm web bundle exec rspec

Using in Development

  • Add your OpenID Connect issuer, client ID, and client secret in .env

  • Add your Solr connection information in .env -- this could be a local Solr index running via https://github.com/hathitrust/hathitrust_catalog_indexer, or something made available locally via SSH or Kubernetes port forwarding.

  • Run docker-compose up -d

Deploying in Production

namespace: search-client-testing

tk apply kube/environments/testing