- Configure
search api host,apollo serverandcollectionin.envfile in elasticsearch-app root - Use the
graphql-iiifapollo server
REACT_APP_SEARCH_API_HOST=http://localhost:8000/
REACT_APP_SEARCH_API_COLLECTION=nga
REACT_APP_SEARCH_APOLLO_SERVER=http://localhost:4000-
start docker composition
$ cd deployment/opensearch $ OPENSEARCH_INITIAL_ADMIN_PASSWORD={$password} docker-compose up
-
create test data set
$ curl -X PUT "localhost:8000/_bulk" -H 'Content-Type: application/x-ndjson' --data-binary @test-data/nga-metadata-bulk-1.txt
$ npm install
$ npm build
$ npm start