1# gRPC Basics: C++ sample code 2 3The files in this folder are the samples used in [gRPC Basics: C++][], 4a detailed tutorial for using gRPC in C++. 5 6[gRPC Basics: C++]:https://grpc.io/docs/languages/cpp/basics 7 8## Configuration 9 10The RouteGuide proto definition is available [here](../../protos/route_guide.proto). 11The server takes the following command-line argument - 12* db_path - Path to json file containing database. Defaults to `examples/cpp/route_guide/route_guide_db.json` on bazel builds, and `route_guide_db.json` for non-bazel builds. 13 14## Running the example 15 16To run the server - 17 18``` 19$ tools/bazel run examples/cpp/route_guide:route_guide_callback_server 20``` 21 22To run the client - 23 24``` 25$ tools/bazel run examples/cpp/route_guide:route_guide_callback_client 26```