aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorGravatar Eric Gribkoff <ericgribkoff@google.com>2017-01-26 09:23:33 -0800
committerGravatar Eric Gribkoff <ericgribkoff@google.com>2017-01-26 09:23:33 -0800
commit132fd42a70c55dcde3412547aa9db37938fffec4 (patch)
tree1a1bec024f3a7a9c098a4c35c8b722ca581c8fc5 /doc
parent6f690f34831ac175a2c92d8838a5fc12ab8035b5 (diff)
Update instructions for building grpc_cli from a fresh copy of the gRPC
repository.
Diffstat (limited to 'doc')
-rw-r--r--doc/command_line_tool.md25
1 files changed, 22 insertions, 3 deletions
diff --git a/doc/command_line_tool.md b/doc/command_line_tool.md
index 79a131c041..77c3d078ad 100644
--- a/doc/command_line_tool.md
+++ b/doc/command_line_tool.md
@@ -2,8 +2,8 @@
## Overview
-This document describes the command line tool that comes with gRPC repository. It is desireable to have command line
-tools written in other languages to roughly follow the same syntax and flags.
+This document describes the command line tool that comes with gRPC repository. It is desirable to have command line
+tools written in other languages roughly follow the same syntax and flags.
At this point, the tool needs to be built from source, and it should be moved out to grpc-tools repository as a stand
alone application once it is mature enough.
@@ -30,7 +30,26 @@ The command line tool should support the following things:
## Code location
-To use the tool, you need to get the grpc repository and in the grpc directory execute
+To use the tool, you need to get the grpc repository and make sure your system
+has the prerequisites for building grpc from source, given in the [installation
+instructions](https://github.com/grpc/grpc/blob/master/INSTALL.md).
+
+In order to build the grpc command line tool from a fresh clone of the grpc
+repository, you need to run the following command to update submodules:
+
+```
+git submodule update --init
+```
+
+You also need to have the gflags library installed on your system. On Linux
+systems, gflags can be installed with the following command:
+
+```
+sudo apt-get install libgflags-dev
+```
+
+Once the prerequisites are satisfied, you can build the command line tool with
+the command:
```
$ make grpc_cli