diff options
author | Stanley Cheung <stanleycheung@google.com> | 2015-08-27 14:38:38 -0700 |
---|---|---|
committer | Stanley Cheung <stanleycheung@google.com> | 2015-08-27 14:38:38 -0700 |
commit | 0a268216c2c8e112351b7ed038da04bf50b9eb5a (patch) | |
tree | ab93176dac0836e46df5f2b6f54c5a4fba66c823 /examples/python/helloworld | |
parent | 20fa6693f3836bf1418176ec78b26feaf51a369d (diff) |
replace all grpc-common occurances with examples
Diffstat (limited to 'examples/python/helloworld')
-rw-r--r-- | examples/python/helloworld/README.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/python/helloworld/README.md b/examples/python/helloworld/README.md index 0a6a718bae..d199c401ec 100644 --- a/examples/python/helloworld/README.md +++ b/examples/python/helloworld/README.md @@ -1,6 +1,6 @@ # gRPC Python Hello World -This is a quick introduction with a simple example and installation instructions: for a more complete tutorial see [gRPC Basics: Python](https://github.com/grpc/grpc-common/tree/master/python/route_guide). +This is a quick introduction with a simple example and installation instructions: for a more complete tutorial see [gRPC Basics: Python](examples/python/route_guide). ### Install gRPC Make sure you have built gRPC Python from source on your system. Follow the instructions here: @@ -12,19 +12,19 @@ have cloned the [gRPC git repo](https://github.com/grpc/grpc). ### Get the source code -The example code for our Hello World and our other examples live in the `grpc-common` -GitHub repository. Clone this repository to your local machine by running the +The example code for our Hello World and our other examples live in the `examples` +directory. Clone this repository to your local machine by running the following command: ```sh -$ git clone https://github.com/grpc/grpc-common.git +$ git clone https://github.com/grpc/grpc.git ``` -Change your current directory to grpc-common/python/helloworld +Change your current directory to examples/python/helloworld ```sh -$ cd grpc-common/python/helloworld/ +$ cd examples/python/helloworld/ ``` ### Defining a service @@ -96,7 +96,7 @@ been generated for you (helloworld_pb2.py). ### The client -Client-side code can be found in [greeter_client.py](https://github.com/grpc/grpc-common/blob/master/python/helloworld/greeter_client.py). +Client-side code can be found in [greeter_client.py](examples/python/helloworld/greeter_client.py). You can run the client using: @@ -107,7 +107,7 @@ $ ./run_client.sh ### The server -Server side code can be found in [greeter_server.py](https://github.com/grpc/grpc-common/blob/master/python/helloworld/greeter_server.py). +Server side code can be found in [greeter_server.py](examples/python/helloworld/greeter_server.py). You can run the server using: |