Skip to content

Commit

Permalink
Merge pull request #130 from aserto-dev/go-sample
Browse files Browse the repository at this point in the history
Update Go todo app instructions
  • Loading branch information
ronenh authored Aug 19, 2024
2 parents 054e65f + d42ce38 commit 77859f4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/getting-started/samples/go.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,22 @@ AUDIENCE=citadel-app
ASERTO_POLICY_ROOT="todoApp"
ASERTO_AUTHORIZER_SERVICE_URL=localhost:8282
ASERTO_AUTHORIZER_CERT_PATH=$HOME/.local/share/topaz/certs/grpc-ca.crt
ASERTO_DIRECTORY_SERVICE_URL=localhost:9292
ASERTO_DIRECTORY_GRPC_CERT_PATH=$HOME/.local/share/topaz/certs/grpc-ca.crt
# On Windows, change this to '$HOMEPATH\AppData\Local\topaz\certs\grpc-ca.crt'
ASERTO_GRPC_CA_CERT_PATH='${HOME}/.local/share/topaz/certs/grpc-ca.crt'
```

### Install dependencies
To install the application dependencies, run the following command:
```
cd todo-go-v2
go mod tidy
```

## Start the server
```
go run main.go
go run .
```

## Next steps
Test your server by [using the sample web Todo application](/docs/getting-started/samples/test-application).

0 comments on commit 77859f4

Please sign in to comment.