Skip to content

acdh-oeaw/noske-fcs

Repository files navigation

noske-fcs

This repository provides a deployment of the mquery-sru for ACDH-CH public corpora.

It uses github actions to run a following workflow:

  • Clone the mquery-sru repo.
  • Adjust its Dockerfile so it includes corpora from existing docker images defined in the preDockerfile and copies data from them according to the postDockerfile.
  • Include into the build config the confgen.py script and the corpora.yml file which are used to dynamically build the corpora-resources section of the mquery-sru's config file upon its container startup.
  • Build the docker image and push it to the docker hub.

The deployment is available under https://noske-fcs.acdh-ch-dev.oeaw.ac.at/, e.g.

Endpoint configuration

  • Open the config.json and adjust the serverInfo section.
  • Save, commit, push, run the build action.

Adding additional corpora

  • If the corpus is a part of a publicly available docker image, then define an alias to it in the preDockerfile and add a data copy command to the postDockerfile (see the sample code in these files)
  • Edit the corpora.yaml providing all configuration properties for the new corpus (see comments inside the file)
  • Commit, push, run the build action.

Links

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages