pineapplethief / grpc-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Updating server and client service code from proto file

# from the /server directory
grpc_tools_ruby_protoc -I ../protos --ruby_out=lib/protobuf-autogenerated --grpc_out=lib/protobuf-autogenerated ../protos/tasks.proto

Running server & client

  • Run the server

    # from ./server directory:
    $ bundle exec ./server.rb
  • Run the client (in other terminal tab)

    # from ./client directory:
    bundle exec ./cli.rb

About

License:MIT License


Languages

Language:Ruby 100.0%