Skip to content

Commit dccefdb

Browse files
committed
updated scripts
1 parent 836da2e commit dccefdb

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

README.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,26 @@ Update file `mandolin.properties` with the host parameters. Mind the missing `/`
3232

3333
## Usage
3434

35-
Initialize database, once for all.
35+
### Initialize database
36+
37+
To be called once for all. If the directory `./pgsql/db/` exists, skip this step.
3638

3739
```bash
3840
sh pgsql-init.sh
41+
sh pgsql-start.sh
42+
sh pgsql-create.sh
3943
```
4044

4145
### Run Mandolin test
4246

47+
If the database was not started before, run:
48+
49+
```bash
50+
sh pgsql-start.sh
51+
```
52+
53+
then, run:
54+
4355
```bash
4456
java -Xmx8g -jar plain eval/mandolin-test src/test/resources/AKSW-one-out.nt http://mandolin.aksw.org/example/topic 95 10 95 false false false
4557
```

pgsql-create.sh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env bash
2+
createdb probkb

0 commit comments

Comments
 (0)