Skip to content

Repository files navigation

Registry Server

User Guide License

Registry Server is the registry of knowledge models, document templates and locales for Data Stewardship Wizard instances.

This repository is a read-only distribution: the sources are generated from the development repository and pushed here, so pull requests cannot be merged directly. Discuss changes in an issue first, see CONTRIBUTING.

Repository layout

app/registry-server   entry point
src/               Shared, RegistryPublic, RegistryServer
test/              hspec suite: registry
config/            configuration, committed templates as *.example
scripts/           build info, config expansion, strict build

Requirements

  • Stack (GHC 9.10.3, snapshot lts-24.37) and hpack
  • PostgreSQL 15 and MinIO/S3
  • engine-jinja libraries in lib/ (document templating)
  • Optional: fourmolu, hlint, cspell

Build and run

./scripts/expand-example-files.sh   # creates the gitignored configs from *.example
make build
make run

The document templating needs the engine-jinja libraries in lib/. Download them from the releases or compile them yourself; the Makefile exports PYTHONPATH, LD_LIBRARY_PATH and DYLD_LIBRARY_PATH to that folder.

Tests and code style

make test                                    # all suites (needs a running database)
make test-registry
make check                                   # hlint + fourmolu + cspell
make format

License

This project is licensed under the Apache License v2.0 - see the LICENSE file.

About

No description, website, or topics provided.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages