Install and configure the dictionary's applications.
The docker directory contains a docker-compose.yml file that can be used to create local instances of the MySQL database and Solr.
-
Use
docker-compose upto start the services. This command will- Start Solr, the admin interface address is
localhost:8983. - Start MySQL server, reachable directly at
localhost:3306, login details are indocker/mysql/mysql.env. - Start Adminer, a database manager web app, log in at
localhost:8081with the same database details as above. - Downloads and patches Norsk ordbank with Ant. This container will place files in the
workspacedirectory and exit.
- Start Solr, the admin interface address is
-
When the
downloadercontainer exits and the text files form Norsk ordbank are available in theworkspacedirectory, rundb-init.shto load these into the database. -
The MySQL database for HunNor can be downloaded from https://dict.hunnor.net/about and loaded into the database e.g. with the Import function in Adminer.
-
XML exports of the dictionary can be downloaded from the same address. Place the extracted XML files into the
workspacedirectory and use the data import tool in the Solr cores to index them.
