From 9908c85c500a9da8d9c19305eaa6b848fea25362 Mon Sep 17 00:00:00 2001 From: Empiriker <till.ueberfries@gmail.com> Date: Wed, 18 Oct 2023 14:32:45 +0300 Subject: [PATCH] Update Readme --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index caa04c7..76a58e1 100644 --- a/README.md +++ b/README.md @@ -37,10 +37,10 @@ _Since wiktextract is not regularly published as a Python package, we fix versio ### 4. Load templates from dump files -Run the script `src/load_templates.py` to extract module and template pages from the dumpfile into an sqlite database that will be used by `wiktextract`. +Run the script `src/load_dumps.py` the dumpfile into an sqlite database that will be used by `wiktextract`. ``` -python src/load_templates.py +python src/load_dumps.py ``` ### 5. Start flask app @@ -50,10 +50,13 @@ flask --app src/app.py run ``` ## Using Docker -Alternatively the app can also be containerized using Docker. You still have to provide the dump files in `dumps/`. + +Alternatively the app can also be containerized using Docker. You still have to provide the dump files in `dumps/`. Then performs the two steps: + ### 2. Build image + ``` docker build -t live-query-wiktextract . ``` -- GitLab