Skip to content
Snippets Groups Projects
Commit 3054eba8 authored by Yang Gao's avatar Yang Gao
Browse files

Fix readme

parent 74c9ddcd
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ $ make helloworld.pb.cc ...@@ -35,7 +35,7 @@ $ make helloworld.pb.cc
Which internally invokes the proto-compiler as: Which internally invokes the proto-compiler as:
```sh ```sh
$protoc -I ../../protos/ --cpp_out=. --grpc_out=. --plugin=protoc-gen-grpc=grpc_cpp_plugin helloworld.proto $ protoc -I ../../protos/ --cpp_out=. --grpc_out=. --plugin=protoc-gen-grpc=grpc_cpp_plugin ../../protos/helloworld.proto
``` ```
### Client and server implementations ### Client and server implementations
...@@ -45,8 +45,18 @@ The client implementation is at [greeter_client.cc](https://github.com/grpc/grpc ...@@ -45,8 +45,18 @@ The client implementation is at [greeter_client.cc](https://github.com/grpc/grpc
The server implementation is at [greeter_server.cc](https://github.com/grpc/grpc-common/blob/master/cpp/helloworld/greeter_server.cc). The server implementation is at [greeter_server.cc](https://github.com/grpc/grpc-common/blob/master/cpp/helloworld/greeter_server.cc).
### Try it! ### Try it!
Build client and server:
###TODO: instructions to run server and client ```sh
$ make
```
Run the server:
```sh
$ ./greeter_server
```
Run the client:
```sh
$ ./greeter_client
```
## Tutorial ## Tutorial
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment