grpc-java/examples
Kun Zhang 221c534f11 Fix build on Windows/VC++
- Stop defining custom architectures because VisualCpp toolchain doesn't
  allow it. Reference to built-in architectures 'x86' and 'x86_64' since
  they are supported by all toolchains.
- Remove 'local_arch' from platforms. For unsupported platform, we just
  do not specify the target.
- Target no more than one platform at a time. This simplifies the build
  script a lot.
- Remove the TARGET_ARCHS environment variable. Add system property
  ``arch`` to override ``osdetector.arch``.
- Add ``vc.disable`` to override the default choice of VisualCpp on
  Windows.
- Add ``vc.`` prefix to the properties that are only used with VC++
2015-05-04 09:25:49 -07:00
..
src/main Remove Guava's Service from server transport 2015-04-16 11:28:04 -07:00
README.md Update README.md 2015-02-26 05:21:03 -08:00
build.gradle Fix build on Windows/VC++ 2015-05-04 09:25:49 -07:00

README.md

grpc Examples

In order to run the examples simply execute one of the gradle tasks routeGuideServer, routeGuideClient, helloWorldServer, or helloWorldClient.

For example, say you want to play around with the route guide examples. First you want to start the server and then have the client connect to it and let the good times roll.

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

$ ./gradlew :grpc-examples:routeGuideServer

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

$ ./gradlew :grpc-examples:routeGuideClient

That's it!

Please refer to [Getting Started Guide for Java] (https://github.com/grpc/grpc-common/blob/master/java/javatutorial.md) for more information.