diff options
author | Stanley Cheung <stanleycheung@google.com> | 2015-08-31 12:17:34 -0700 |
---|---|---|
committer | Stanley Cheung <stanleycheung@google.com> | 2015-08-31 15:14:28 -0700 |
commit | 56debcb6d18762e41a21b7404c2a35a04219a026 (patch) | |
tree | 222b11e14075292577c5816f66b6652c53062c40 /examples/python/route_guide/README.md | |
parent | d87e203622bb65c5d21e2e4fd6bc601f272f4a07 (diff) |
fix more examples links
Diffstat (limited to 'examples/python/route_guide/README.md')
-rw-r--r-- | examples/python/route_guide/README.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/python/route_guide/README.md b/examples/python/route_guide/README.md index dc97892ea5..636e134964 100644 --- a/examples/python/route_guide/README.md +++ b/examples/python/route_guide/README.md @@ -19,7 +19,7 @@ With gRPC you can define your service once in a .proto file and implement client ## Example code and setup -The example code for this tutorial is in [examples/python/route_guide](examples/python/route_guide). To download the example, clone this repository by running the following command: +The example code for this tutorial is in [examples/python/route_guide](.). To download the example, clone this repository by running the following command: ```shell $ git clone https://github.com/grpc/grpc.git ``` @@ -29,11 +29,11 @@ Then change your current directory to `examples/python/route_guide`: $ cd examples/python/route_guide ``` -You also should have the relevant tools installed to generate the server and client interface code - if you don't already, follow the setup instructions in [the Python quick start guide](examples/python). +You also should have the relevant tools installed to generate the server and client interface code - if you don't already, follow the setup instructions in [the Python quick start guide](../python). ## Defining the service -Your first step (as you'll know from [Getting started](https://github.com/grpc/grpc/tree/master/examples)) is to define the gRPC *service* and the method *request* and *response* types using [protocol buffers](https://developers.google.com/protocol-buffers/docs/overview). You can see the complete .proto file in [`examples/protos/route_guide.proto`](examples/protos/route_guide.proto). +Your first step (as you'll know from [Getting started](https://github.com/grpc/grpc/tree/master/examples)) is to define the gRPC *service* and the method *request* and *response* types using [protocol buffers](https://developers.google.com/protocol-buffers/docs/overview). You can see the complete .proto file in [`examples/protos/route_guide.proto`](../../protos/route_guide.proto). To define a service, you specify a named `service` in your .proto file: @@ -115,7 +115,7 @@ Creating and running a `RouteGuide` server breaks down into two work items: - Implementing the servicer interface generated from our service definition with functions that perform the actual "work" of the service. - Running a gRPC server to listen for requests from clients and transmit responses. -You can find the example `RouteGuide` server in [examples/python/route_guide/route_guide_server.py](examples/python/route_guide/route_guide_server.py). +You can find the example `RouteGuide` server in [route_guide_server.py](route_guide_server.py). ### Implementing RouteGuide @@ -222,7 +222,7 @@ Because `start()` does not block you may need to sleep-loop if there is nothing <a name="client"></a> ## Creating the client -You can see the complete example client code in [examples/python/route_guide/route_guide_client.py](examples/python/route_guide/route_guide_client.py). +You can see the complete example client code in [route_guide_client.py](route_guide_client.py). ### Creating a stub |