Skip to content

Commit

Permalink
Update README.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
merlante committed Jun 17, 2024
1 parent b4d4519 commit e08c8aa
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ See also:

`make build`

(Configs must be specified to run binary, e.g. `./bin/ciam-rebac -conf configs`, or run make target, below.)

### Run

`make run`
Expand Down Expand Up @@ -49,6 +51,10 @@ go build -o ./bin/ ./...
```
# Generate API files (include: pb.go, http, grpc, validate, swagger) by proto file
make api
# Generate config code
make config
# Generate all files
make all
```
Expand All @@ -66,18 +72,27 @@ wire

## Spicedb using docker/podman

### Run the spicedb
### Run spicedb and postgresql db with docker/podman compose

`make spicedb`

### Run the insights-rebac with docker compose
This is a good option for keeping spicedb running in the background while the rebac service is run via
`make run`, the binary or via the IDE (run/debug) during local development.

### Run the insights-rebac and spicedb with docker/podman compose

`make rebac`

### teardown spicedb and postgresql db
This runs everything and is a good option for testing a built rebac container image with the running binary.

### Teardown spicedb and postgresql db (brought up with docker/podman compose, as above)

`make spicedb/teardown`

### Teardown rebac and dependencies (brought up with docker/podman compose, as above)

`make rebac/teardown`

### Deploy Rebac and Spicedb using kind/kubernetes

`make kind/rebac`
Expand Down

0 comments on commit e08c8aa

Please sign in to comment.