Improve production section in documentation
diff --git a/Readme.md b/Readme.md
index 8d0747b..0b89694 100644
--- a/Readme.md
+++ b/Readme.md
@@ -28,8 +28,34 @@
docker compose -p korap4dnb down
```
+### To generate Annotations
+
+Install prerequisite korap/conllu2treetagger and korap/conllu2spacy docker images if not present:
+
+```bash
+docker image inspect korap/conllu2treetagger:latest || curl -Ls 'https://gitlab.ids-mannheim.de/KorAP/CoNLL-U-Treetagger/-/jobs/artifacts/master/raw/conllu2treetagger.xz?job=build-docker-image' | docker load
+
+docker image inspect korap/conllu2spacy:latest || curl -Ls https://corpora.ids-mannheim.de/tools/conllu2spacy.tar.xz | docker load
+```
+
+Make annotations fro dnb20:
+
+```bash
+make -j $(nproc) target/dnb20.marmot-malt.zip target/dnb20.spacy.zip target/dnb20.tree_tagger.zip
+```
+
## Production
+### Build a new KorAP index
+
+```bash
+make -j $(( $(nproc) / 2 )) index
+```
+
+By default, as sources directories, all directories in `./DeLiKo@DNB` are used. Note that (due to a bug in the Makefile), the nesting depth of the EPUB files must be exactly 2. You can check, what files will be converted, by running `ls DeLiKo@DNB/*/*.epub`.
+
+The new index will be built as `target/dnb.index`.
+
### Build new KorAP index, just with prize winners index
```bash
@@ -38,28 +64,6 @@
The index will be in `target/dnb.index`.
-### Generate all I5 corpora
-
-```bash
-make -j $(nproc) i5
-```
-
-### Generate a KorAP-XML ZIP
-
-Prerequisite: [KorAP-XML-CoNLL-U](https://github.com/KorAP/KorAP-XML-CoNLL-U)
-
-```bash
-make -j $(nproc) target/dnb18.zip SRC_DIR=test/resources/DNB YEARS=18
-```
-
-### Build new KorAP index
-
-```bash
-make -j $(nproc) index
-```
-
-The index will be in `target/dnb.index`.
-
### Run KorAP
and start the docker:
@@ -80,30 +84,6 @@
docker compose -p korap4dnb --profile=lite restart
```
-### To generate Annotations
-
-Install prerequisite korap/conllu2treetagger and korap/conllu2spacy docker images if not present:
-
-```bash
-docker image inspect korap/conllu2treetagger:latest || curl -Ls 'https://gitlab.ids-mannheim.de/KorAP/CoNLL-U-Treetagger/-/jobs/artifacts/master/raw/conllu2treetagger.xz?job=build-docker-image' | docker load
-
-docker image inspect korap/conllu2spacy:latest || curl -Ls https://corpora.ids-mannheim.de/tools/conllu2spacy.tar.xz | docker load
-```
-
-Make annotations fro dnb20:
-
-```bash
-make -j $(nproc) target/dnb20.marmot-malt.zip target/dnb20.spacy.zip target/dnb20.tree_tagger.zip
-```
-
-### To build KorAP index (also directly)
-
-Build KorAP all, up to the deployable index:
-
-```bash
-make -j $(nproc) all
-```
-
## News
* 2024-05-26