Skip to content

Commit a7e5813

Browse files
authored
Mark file and code refrences as code
1 parent f5e45db commit a7e5813

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Index the data, passing the index name:
6262

6363
`sbt -Dindex.entityfacts.index=entityfacts_20210120 "runMain apps.Index entityfacts"`
6464

65-
For configuration details and defaults, see 'conf/application.conf'.
65+
For configuration details and defaults, see `conf/application.conf`.
6666

6767
#### GND Baseline
6868

@@ -72,13 +72,13 @@ Set up a location for the input data:
7272

7373
`mkdir input_data; cd input_data`
7474

75-
Set 'data.rdfxml' in 'conf/application.conf' to the 'input_data' location.
75+
Set `data.rdfxml` in `conf/application.conf` to the `input_data` location.
7676

7777
Get the GND RDF/XML source data from <https://data.dnb.de/opendata/>:
7878

7979
`wget https://data.dnb.de/opendata/authorities-gnd-{geografikum,koerperschaft,kongress,person,sachbegriff,werk}_lds.rdf.gz`
8080

81-
This should give you 6 local files ending with '.rdf.gz'. Go back to the project root directory:
81+
This should give you 6 local files ending with `.rdf.gz`. Go back to the project root directory:
8282

8383
`cd ..`
8484

@@ -88,11 +88,11 @@ Set up a location for the index data:
8888

8989
`mkdir index_data`
9090

91-
Set 'data.jsonlines' in 'conf/application.conf' to the 'index_data' location.
91+
Set `data.jsonlines` in `conf/application.conf` to the `index_data` location.
9292

93-
Set 'index.boot' in 'conf/application.conf' to an existing index. This index will be used to get labels during the conversion process.
93+
Set `index.boot` in `conf/application.conf` to an existing index. This index will be used to get labels during the conversion process.
9494

95-
Set 'index.prod' in 'conf/application.conf' to a non-existing index. This index name will be used in the indexing data created during conversion.
95+
Set `index.prod` in `conf/application.conf` to a non-existing index. This index name will be used in the indexing data created during conversion.
9696

9797
Convert the data to JSON-LD lines, the index data format:
9898

@@ -102,11 +102,11 @@ To be able to log out from the server while the conversion is running, we actual
102102

103103
`setsid nohup sbt "runMain apps.ConvertBaseline" &`
104104

105-
This should create 6 '\*.jsonl' files in 'index_data'.
105+
This should create 6 `\*.jsonl` files in `index_data`.
106106

107107
##### Index the JSON data
108108

109-
If the 'index.prod' configured in 'application.conf' does not exists, a new index will be created.
109+
If the `index.prod` configured in `application.conf` does not exists, a new index will be created.
110110

111111
To start the indexing, run:
112112

@@ -122,7 +122,7 @@ Pass one or two arguments: get updates since (and optionally until) a given date
122122

123123
`sbt "runMain apps.ConvertUpdates 2022-06-22 2022-06-23"`
124124

125-
The date of the most recent update is stored in 'GND-lastSuccessfulUpdate.txt' (can be changed in the config).
125+
The date of the most recent update is stored in `GND-lastSuccessfulUpdate.txt` (can be changed in the config).
126126

127127
The original downloaded data and the converted data are stored in separate files. To convert the data again without downloading it, use the steps described above under 'Convert RDF/XML to JSON' with the update RDF data.
128128

@@ -132,11 +132,11 @@ To index the updates run:
132132

133133
`sbt "runMain apps.Index updates"`
134134

135-
See 'application.conf' for details on the configured file names etc.
135+
See `application.conf` for details on the configured file names etc.
136136

137137
### Web
138138

139-
In 'lobid-gnd', run the web application:
139+
In `lobid-gnd`, run the web application:
140140

141141
`sbt run`
142142

0 commit comments

Comments
 (0)