Commands

  • Set up environment
pipenv install
  • Run server
cd server && pipenv run python server.py

From the repository's root directory

  • Generate Python gRPC stubs
pipenv run python -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. reddit.proto
  • Run client
cd client && pipenv run python client.py

From the repository's root directory

  • Run test
cd test && pipenv run python test.py

From the repository's root directory