Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 887 Bytes

DEVELOPMENT.md

File metadata and controls

24 lines (17 loc) · 887 Bytes

Running locally

(This has to be improved and parameterized more)

  1. Make sure you can connect to all required external hosts (db, platforms, catalogs).
  2. Either run the Spring Boot app from the DataPolicyServiceApplication class, or run make run-docker-local to build and run a local docker image.

Running examples with a locally built image

  1. Build the image with ./gradlew buildDocker.
  2. Run an example with IMAGE=pace-local docker compose up -f examples/<example>/docker-compose.yaml.

Tip: want to make this easier? Just create a examples/.envrc file with the following contents:

export IMAGE=pace-local
export PULL_POLICY=never

Then you can run docker compose up as usual.

gRPC / REST API