NINA CKAN catalogue for the COAT project. It is a customized distribution of CKAN which includes, amongst the others, ckanext-coat and ckanext-coatcustom. It also relies on some additional services to provide greater interoperability.
CKAN does not provide Docker images based on the Dockerfile provided by the official ckan/ckan repository, so the Docker images are built by the synchronized nina-data/ckan project.
All the tools and scripts in this file have been developed and tested on GNU/Linux systems only.
Dependencies:
- Python 3.8+
- Earthly
- Docker
- Fetch Submodules
git submodule update --recursive - Build:
docker compose --profile dev build - Copy
template.envto.envand setDOI_*test variables - Run:
docker compose --profile dev run --rm --service-ports ckan-dev
- Update dependencies (optional):
earthly +requirements
earthly +container-test
docker compose --profile test down -v
docker compose --profile test run --rm test- Copy
template.envto.env - Set
DOI_*variables - Set
CKAN_OAUTH2_*variables
Create a new user:
docker compose exec ckan ckan -c /etc/ckan/production.ini sysadmin add $USERDo not store secrets in Bash history: check if HISTCONTROL is set to ignorespace or ignoreboth in your .bashrc file.
- ckanext-oauth2
- PR for Python 3/CKAN 2.9 is stale: conwetlab/ckanext-oauth2#42
- ckanext-scheming
- A custom patch is used to skip validation on the parent datasets; the discussion is still ongoing: ckan/ckanext-scheming#331