Pushes the optional code-gen section to the bottom
This commit is contained in:
Родитель
6ccac2731e
Коммит
5735acb45c
30
README.md
30
README.md
|
@ -21,8 +21,21 @@ $ go install -u github.com/grpc-common/go/greeter_client
|
|||
$ go install -u github.com/grpc-common/go/greeter_server
|
||||
```
|
||||
|
||||
OPTIONAL - Rebuild the generated code
|
||||
-------------------------------------
|
||||
TRY IT!
|
||||
-------
|
||||
|
||||
- Run the server
|
||||
```sh
|
||||
$ greeter_server &
|
||||
```
|
||||
|
||||
- Run the client
|
||||
```sh
|
||||
$ greeter_client
|
||||
```
|
||||
|
||||
OPTIONAL - Rebuilding the generated code
|
||||
----------------------------------------
|
||||
|
||||
1 First [install protoc](https://github.com/google/protobuf/blob/master/INSTALL.txt)
|
||||
- For now, this needs to be installed from source
|
||||
|
@ -36,16 +49,3 @@ $
|
|||
$ # from ths dir; invoke protoc
|
||||
$ protoc -I ../protos ../protos/helloworld.proto --go_out=plugins=grpc:.
|
||||
```
|
||||
|
||||
TRY IT!
|
||||
-------
|
||||
|
||||
- Run the server
|
||||
```sh
|
||||
$ greeter_server &
|
||||
```
|
||||
|
||||
- Run the client
|
||||
```sh
|
||||
$ greeter_client
|
||||
```
|
||||
|
|
Загрузка…
Ссылка в новой задаче