diff --git a/README.md b/README.md index caa04c77e1e087b736aa7480c84c9ad77ae6b15b..76a58e117e750ef39ff81e4c24b40e6d17884246 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 . ```