From d42ce38abf67b87b347577c32d22140482634d29 Mon Sep 17 00:00:00 2001 From: Ronen Hilewicz Date: Mon, 19 Aug 2024 08:59:33 -0400 Subject: [PATCH] Update Go todo app instructions --- docs/getting-started/samples/go.mdx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/getting-started/samples/go.mdx b/docs/getting-started/samples/go.mdx index 416f168..8749fd2 100644 --- a/docs/getting-started/samples/go.mdx +++ b/docs/getting-started/samples/go.mdx @@ -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).