|
|
před 11 roky | |
|---|---|---|
| .. | ||
| lib | před 11 roky | |
| .gitignore | před 11 roky | |
| Gemfile | před 11 roky | |
| README.md | před 11 roky | |
| greeter.gemspec | před 11 roky | |
| greeter_client.rb | před 11 roky | |
| greeter_server.rb | před 11 roky | |
This requires Ruby 2.x, as the gRPC API surface uses keyword args.
Use bundler to install
$ # from this directory
$ gem install bundler && bundle install
Run the server
$ # from this directory
$ bundle exec ./greeter_server.rb &
Run the client
$ # from this directory
$ bundle exec ./greeter_client.rb