Skip to content
Snippets Groups Projects
Commit 9908c85c authored by Empiriker's avatar Empiriker
Browse files

Update Readme

parent cdffedd4
Branches master
No related tags found
No related merge requests found
...@@ -37,10 +37,10 @@ _Since wiktextract is not regularly published as a Python package, we fix versio ...@@ -37,10 +37,10 @@ _Since wiktextract is not regularly published as a Python package, we fix versio
### 4. Load templates from dump files ### 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 ### 5. Start flask app
...@@ -50,10 +50,13 @@ flask --app src/app.py run ...@@ -50,10 +50,13 @@ flask --app src/app.py run
``` ```
## Using Docker ## 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: Then performs the two steps:
### 2. Build image ### 2. Build image
``` ```
docker build -t live-query-wiktextract . docker build -t live-query-wiktextract .
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment