diff options
| author | Paul Grosu <pgrosu@gmail.com> | 2016-12-07 01:21:07 -0500 |
|---|---|---|
| committer | Paul Grosu <pgrosu@gmail.com> | 2016-12-07 01:21:07 -0500 |
| commit | 255d5413ffdb8aea348b3d143377a51755f6b701 (patch) | |
| tree | f9d84e296fa6e5e9326d617f753cf2d62a1c32f0 /chapter/1/gRPC.md | |
| parent | b8eb0b556606b2ef1ad98771382f99e7df6c20b4 (diff) | |
submit
Diffstat (limited to 'chapter/1/gRPC.md')
| -rw-r--r-- | chapter/1/gRPC.md | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/chapter/1/gRPC.md b/chapter/1/gRPC.md index ecdaa73..d39a4f6 100644 --- a/chapter/1/gRPC.md +++ b/chapter/1/gRPC.md @@ -199,14 +199,38 @@ gradlew.bat installDist If you are having issues with Unicode translation of Git on Windows you can try the following commands after entering the `examples` folder: ``` -https://raw.githubusercontent.com/benelot/grpc-java/feb88a96a4bc689631baec11abe989a776230b74/examples/src/main/java/io/grpc/examples/routeguide/RouteGuideServer.java +wget https://raw.githubusercontent.com/benelot/grpc-java/feb88a96a4bc689631baec11abe989a776230b74/examples/src/main/java/io/grpc/examples/routeguide/RouteGuideServer.java copy RouteGuideServer.java src\main\java\io\grpc\examples\routeguide\RouteGuideServer.java ``` -<h3>3 <em>Hello World Demonstration</em></h3> +<h3>3.5.2 <em>Running the Hello World Demonstration</em></h3> +Make sure you open two Command (Terminal) windows, each within the `grpc-java\examples\build\install\examples\bin` folder. In the first of the two windows type the following command: +``` +hello-world-server.bat +``` + +You should see the following: + +<p align="center"> + <img src="figures/hello-world-server.png" /><br> + <em>Figure 8: The Hello World gRPC Server. +</p> + +In the second of the two windows type the following command: + +``` +hello-world-client.bat +``` + +You should see the following response: + +<p align="center"> + <img src="figures/hello-world-client.png" /><br> + <em>Figure 9: The Hello World gRPC Client and the response from the Server. +</p> ## References |
