Skip to content

Commit 9e7cc90

Browse files
authored
Add instructions how to install elasticsearch
You need a running elastic search while elasticsearch is named as a prerequisite the how is not documented resulting in a failing `sbt test` due to a missing elasticsearch.
1 parent b6c3462 commit 9e7cc90

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,23 @@ Elasticsearch 5.6.x (configured in `application.conf`)
1616

1717
### Build
1818

19-
Get the code, change into the project directory, and run the tests:
19+
Get the code, change into the project directory:
2020

21-
`git clone https://github.com/hbz/lobid-gnd.git ; cd lobid-gnd ; sbt test`
21+
`git clone https://github.com/hbz/lobid-gnd.git ; cd lobid-gnd`
22+
23+
If needed start elasticsearch:
24+
25+
```bash
26+
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.6.3.tar.gz
27+
tar -xzf elasticsearch-5.6.3.tar.gz
28+
./elasticsearch-5.6.3/bin/elasticsearch &
29+
```
30+
31+
(If elastic search is already running and you want to start a new es: `ps -ef | grep elas` and `kill [PID]`.)
32+
33+
Run tests:
34+
35+
`sbt test`
2236

2337
### Data
2438

0 commit comments

Comments
 (0)