@@ -210,7 +210,8 @@ zpages:
210210
211211# ## <a name="agent-usage"></a>Usage
212212
213- The ocagent can be run directly from sources, binary, or a Docker image.
213+ The ocagent can be run directly from sources, binary, or a Docker image. If you are planning to run from sources or build
214+ on your machine start by cloning the repo using `go get -d github.com/census-instrumentation/opencensus-service`.
214215
215216It is recommended that you use the latest [release](https://github.com/census-instrumentation/opencensus-service/releases).
216217
@@ -219,7 +220,7 @@ The minimum Go version required for this project is Go 1.11.4.
2192201. Run from sources :
220221
221222` ` ` shell
222- $ GO111MODULE=on go get github.com/census-instrumentation/opencensus-service/cmd/ocagent
223+ $ GO111MODULE=on go run github.com/census-instrumentation/opencensus-service/cmd/ocagent --help
223224` ` `
224225
2252262. Run from binary (from the root of your repo) :
@@ -322,13 +323,14 @@ sampling:
322323
323324> It is recommended that you use the latest [release](https://github.com/census-instrumentation/opencensus-service/releases).
324325
325- The collector can be run directly from sources, binary, or a Docker image.
326+ The collector can be run directly from sources, binary, or a Docker image. If you are planning to run from sources or build
327+ on your machine start by cloning the repo using `go get -d github.com/census-instrumentation/opencensus-service`.
326328
327329The minimum Go version required for this project is Go 1.11.4.
328330
3293311. Run from sources :
330332` ` ` shell
331- $ GO111MODULE=on go run github.com/census-instrumentation/opencensus-service/cmd/occollector
333+ $ GO111MODULE=on go run github.com/census-instrumentation/opencensus-service/cmd/occollector --help
332334` ` `
3333352. Run from binary (from the root of your repo) :
334336` ` ` shell
@@ -409,4 +411,4 @@ queued-exporters:
409411[gitter-image] : https://badges.gitter.im/census-instrumentation/lobby.svg
410412[gitter-url] : https://gitter.im/census-instrumentation/lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
411413[codecov-image] : https://codecov.io/gh/census-instrumentation/opencensus-service/branch/master/graph/badge.svg
412- [codecov-url] : https://codecov.io/gh/census-instrumentation/opencensus-service/branch/master/
414+ [codecov-url] : https://codecov.io/gh/census-instrumentation/opencensus-service/branch/master/
0 commit comments