Skip to content
This repository was archived by the owner on May 26, 2025. It is now read-only.
This repository was archived by the owner on May 26, 2025. It is now read-only.

Instructions how to run client and server #12

Open
@chibby0ne

Description

@chibby0ne

First of all, thank you for creating this repo. It has really helped me understand the usage of scala in grpc applications.

Nevertheless I've been struggling to get the HelloWorldServer and the HelloWorldClient to run. Although admittedly I'm a scala newbie, I think this repository would benefit with a description on how to do that, just like it is done in the case of the grpc-java examples: https://github.com/grpc/grpc-java/tree/master/examples#-to-build-the-examples.

I also tried running them in the interceptor branch but couldn't.

I tried running:

  • sbt run
  • sbt run io.grpc.examples.helloworld.HelloWorldServer
  • sbt "run-main io.grpc.examples.helloworld.HelloWorldServer"

Even though show compiledMainClasses finds these: io.grpc.examples.helloworld.HelloWorldServer and io.grpc.examples.helloworld.HelloWorldClient

Could you shed some light? Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions