(This has to be improved and parameterized more)
- Make sure you can connect to all required external hosts (db, platforms, catalogs).
- Either run the Spring Boot app from the DataPolicyServiceApplication class, or run
make run-docker-local
to build and run a local docker image.
- Build the image with
./gradlew buildDocker
. - 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.