There was an error while loading. Please reload this page.
To generate the *_pb.js files in client/, first install protoc-gen-grpc using npm:
*_pb.js
client/
npm install -g protoc-gen-grpc
Then, generate the files from the topmost directory in this repository using the tool:
protoc-gen-grpc \ --js_out=import_style=commonjs,binary:./client/ \ --grpc_out=./client --proto_path proto/ \ ./proto/<your proto file here>
To generate the print_pb2*.py files in server/, first install grpc for python using pip:
print_pb2*.py
server/
python3 -m pip install grpcio
cd proto && python3 -m grpc_tools.protoc -I. --python_out=../server \ --grpc_python_out=../server <your proto here>