Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

COATnor/datacatalog

Repository files navigation

nina-ckan-coat

pipeline status

Description

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.

Requirements

All the tools and scripts in this file have been developed and tested on GNU/Linux systems only.

Dependencies:

  • Python 3.8+
  • Earthly
  • Docker

Development/debugging

  • Fetch Submodules git submodule update --recursive
  • Build: docker compose --profile dev build
  • Copy template.env to .env and set DOI_* test variables
  • Run: docker compose --profile dev run --rm --service-ports ckan-dev

Update Dependencies

  • Update dependencies (optional): earthly +requirements

Testing

earthly +container-test
docker compose --profile test down -v
docker compose --profile test run --rm test

Deployment

  1. Copy template.env to .env
  2. Set DOI_* variables
  3. Set CKAN_OAUTH2_* variables

Common commands

Create a new user:

docker compose exec ckan ckan -c /etc/ckan/production.ini sysadmin add $USER

Security

Do not store secrets in Bash history: check if HISTCONTROL is set to ignorespace or ignoreboth in your .bashrc file.

Non-upstreamed changed

About

COAT datacatalog (extensions and utils)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •