From e5d63579e874c3ca6ec682dcfc1240d9e3c41320 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A1n=20I=2E=20Del=20Valle?= Date: Wed, 20 May 2020 18:26:05 -0700 Subject: [PATCH] Update using-the-sample-client.md Updating instructions for using the sample client. --- docs/using-the-sample-client.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/docs/using-the-sample-client.md b/docs/using-the-sample-client.md index f2de6d9..cbc2246 100644 --- a/docs/using-the-sample-client.md +++ b/docs/using-the-sample-client.md @@ -22,28 +22,25 @@ Usage of ./client: ``` ## Sample commands: -These commands are set to run on a vagrant box. To be able to run the docker compose -executor examples, the vagrant box must be configured properly to use the docker compose executor. ### Thermos #### Creating a Thermos job ``` -$ cd $GOPATH/src/github.com/paypal/gorealis/examples -$ go run client.go -executor=thermos -url=http://192.168.33.7:8081 -cmd=create +$ go run examples/client.go -url=http://localhost:8081 -executor=thermos -cmd=create ``` #### Kill a Thermos job ``` -$ go run $GOPATH/src/github.com/paypal/gorealis/examples/client.go -executor=thermos -url=http://192.168.33.7:8081 -cmd=kill +$ go run examples/client.gon -url=http://localhost:8081 -executor=thermos -cmd=kill ``` ### Docker Compose executor (custom executor) #### Creating Docker Compose executor job ``` -$ go run $GOPATH/src/github.com/paypal/gorealis/examples/client.go -executor=compose -url=http://192.168.33.7:8081 -cmd=create +$ go run examples/client.go -url=http://192.168.33.7:8081 -executor=compose -cmd=create ``` #### Kill a Docker Compose executor job ``` -$ go run $GOPATH/src/github.com/paypal/gorealis/examples/client.go -executor=compose -url=http://192.168.33.7:8081 -cmd=kill +$ go run examples/client.go -url=http://192.168.33.7:8081 -executor=compose -cmd=kill ```