/catalog-db

catalog-db docker image

Primary LanguageShell

CircleCI

catalog-db

See Main Project

Development

When running this docker image locally, you can follow these steps.

Build the container.

$ make build

Start the container.

$ make start

With the db container started, connect to the database from a new terminal.

$ make psql
docker-compose exec db psql -U postgres ckan
psql (10.4 (Debian 10.4-2.pgdg90+1), server 9.3.23)
Type "help" for help.

ckan=#

Bring the db container down.

$ make clean

Tests

Test are run in a test container that makes assertions against the built image.

$ make test