20 lines
429 B
ReStructuredText
20 lines
429 B
ReStructuredText
Assuming you are in the ``examples`` directory.
|
|
|
|
To start the server:
|
|
|
|
.. code-block:: shell
|
|
|
|
$ python3 -m helloworld.server
|
|
|
|
To run the client:
|
|
|
|
.. code-block:: shell
|
|
|
|
$ python3 -m helloworld.client
|
|
|
|
To re-generate ``helloworld_pb2.py`` and ``helloworld_grpc.py`` files (already generated):
|
|
|
|
.. code-block:: shell
|
|
|
|
$ python3 -m grpc_tools.protoc -I. --python_out=. --grpclib_python_out=. helloworld/helloworld.proto
|