|
|
10 năm trước cách đây | |
|---|---|---|
| .. | ||
| lib | 10 năm trước cách đây | |
| .gitignore | 11 năm trước cách đây | |
| Gemfile | 11 năm trước cách đây | |
| README.md | 11 năm trước cách đây | |
| greeter.gemspec | 11 năm trước cách đây | |
| greeter_client.rb | 11 năm trước cách đây | |
| greeter_server.rb | 10 năm trước cách đây | |
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