- The firebase configuration object is located in:
$ react-discovery-elasticsearch-app/src/config/firebase
- configure
search api host
andcollection
in.env
file in elasticsearch-app root
REACT_APP_SEARCH_API_HOST=http://localhost:8000/
REACT_APP_SEARCH_API_COLLECTION=hsp2
REACT_APP_FIREBASE_API_KEY=
-
start docker composition
$ cd deployment/elasticsearch $ docker-compose up
-
create index mapping
$ curl -X PUT "localhost:8000/hsp2" -H 'Content-Type: application/json' -d @test-data/hsp_mapping.json
-
create test data set
$ curl -X PUT "localhost:8000/_bulk" -H 'Content-Type: application/x-ndjson' --data-binary @test-data/test-data-09.txt
-
OR execute
$ ./build.sh
$ npm install
$ lerna bootstrap --hoist
$ lerna run build
$ lerna run start
https://react-discovery.netlify.com/
$ lerna run test --stream
Checkout solr branch
$ git checkout solr