diff --git a/README.md b/README.md new file mode 100644 index 0000000..fac93ff --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +## Overview +This project demonstrates gRPC functionality in Python with four different RPC types, fork from https://github.com/chelseafarley/PythonGrpc : +- Unary RPC (SayHello) +- Server-side streaming (ParrotSaysHello) +- Client-side streaming (ChattyClientSaysHello) +- Bidirectional streaming (InteractingHello) + +## Usage +Clone the repository: +``` +git clone https://github.com/chelseafarley/PythonGrpc.git +cd PythonGrpc +``` + +## Setup Environment +- python3 -m venv venv +- source venv/bin/activate +- python -m pip install --upgrade pip +- python -m pip install grpcio +- python -m pip install grpcio-tools + +## Run Server +- python greet_server.py + +## Run Client +- python greet_client.py