_Since `wiktextract` and its dependency `wikitextprocessor` are not regularly published as a Python package, it's a challenge to fix them to a specific version. From `requirements.txt`, the latest version will always be installed. Attention: This might mean that after reinstalling, the output schema of `wiktextract` might have slightly changed._
* server settings (`host`, `port` and `debug` (boolean))
* supported wiktionary language
* working directory (this can be useful if the server is launched by another server using absolute paths to handle virtual environment)
### 5. Load templates from dump files
Run the script `src/load_dumps.py` to load the most recent dumpfile (for each [supported wiktionary language](https://gitlab.liris.cnrs.fr/lex-game/live-query-wiktextract/-/blob/main/src/config.py#L5)) into an sqlite database that will be used by `wiktextract`.
...
...
@@ -73,6 +75,26 @@ You can run directly in your virtual environment using absolute paths (in case a
sh -cnohup /var/www/live-query-wiktextract/lq-w-extr/bin/python3 /var/www/live-query-wiktextract/src/app.py
parser.add_argument("-z","--zero_config",help="Don't use if you know how to configure a server (this changes the working directory)",action="store_true")
parser.add_argument("-A","--force_ascii",help="json avec que des caractères ascii",action="store_true")
parser.add_argument("-t","--show_timings",help="montrer les temps d'exécution",action="store_true")