Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 617 Bytes

README.md

File metadata and controls

23 lines (20 loc) · 617 Bytes

Guillotina Object Store

Setting up

brew install protobuf
cargo install grpcio-compiler
cargo install protobuf-codegen

To Sync server with protobuffer

protoc --rust_out=. --grpc_out=. --plugin=protoc-gen-grpc=`which grpc_rust_plugin` transaction.proto

To Sync client with protobuffer

python -m grpc_tools.protoc -I. --python_out=client/guillotina_grpc --grpc_python_out=client/guillotina_grpc transaction.proto

Also don't forget to update transaction_pb2_grpc.py as

+import guillotina_grpc.transaction_pb2 as transaction__pb2
-import transaction_pb2 as transaction__pb2