grpc-java/examples
Jakob Buchgraber 246e8b52bb Add build file and instructions to examples directory. Fixes #43 2015-02-18 15:58:27 -08:00
..
src/main Add build file and instructions to examples directory. Fixes #43 2015-02-18 15:58:27 -08:00
README.md Add build file and instructions to examples directory. Fixes #43 2015-02-18 15:58:27 -08:00
build.gradle Add build file and instructions to examples directory. Fixes #43 2015-02-18 15:58:27 -08:00

README.md

grpc Examples

In order to run the examples simply execute one of the gradle tasks mathserver, mathclient, stockserver or stockclient.

For example, say you want to play around with the math examples. First you want to start the server and then have the client connect to it and do some fun calculations.

Assuming you are in the grpc-java root folder you would first start the math server by running

$ ./gradlew :grpc-examples:mathserver

and in a different terminal window then run the client by typing

$ ./gradlew :grpc-examples:mathclient

That's it!