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 up
to 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:8081
with the same database details as above. - Downloads and patches Norsk ordbank with Ant. This container will place files in the
workspace
directory and exit.
- Start Solr, the admin interface address is
-
When the
downloader
container exits and the text files form Norsk ordbank are available in theworkspace
directory, rundb-init.sh
to 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
workspace
directory and use the data import tool in the Solr cores to index them.