tokopedia / gripmock

gRPC Mock Server
Apache License 2.0
663 stars 157 forks source link

How to run without docker #86

Open cod-soap opened 3 years ago

cod-soap commented 3 years ago

Our company is an intranet environment,so How to run it without docker. I tried to compile locally,and the following operations are done,

go get github.com/golang/protobuf/proto go get google.golang.org/grpc go get github.com/golang/protobuf/protoc-gen-go

But I can't run it. It seems that some environment is missing,such as missing proto

need some guide. best wishes

jekiapp commented 3 years ago

How about running the docker then exposing it to your VM?

Since you didn't provide errors whatsoever, my advice is that you need to replicate and understand whatever is inside the Dockerfile.

JehandadK commented 3 years ago

@a619646645 I think the next step you need is to install the generator.go and then you can try running gripmock.go.

I found the best way to replicate is to follow the projects Dockerfile.