mirror of https://github.com/dapr/go-sdk.git
parent
e261d3773d
commit
b42eec0ba3
2
Makefile
2
Makefile
|
@ -17,7 +17,7 @@ cover: mod ## Displays test coverage in the Client package
|
|||
|
||||
service: mod ## Runs the uncompiled example service code
|
||||
dapr run --app-id serving \
|
||||
--protocol grpc \
|
||||
--app-protocol grpc \
|
||||
--app-port 50001 \
|
||||
go run example/serving/main.go
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ func main() {
|
|||
Assuming you have Dapr CLI installed locally, you can then launch your app like this:
|
||||
|
||||
```shell
|
||||
dapr run --app-id my-app --protocol grpc --app-port 50001 go run main.go
|
||||
dapr run --app-id my-app --app-protocol grpc --app-port 50001 go run main.go
|
||||
```
|
||||
|
||||
See [example folder](./example) for complete example.
|
||||
|
|
|
@ -8,7 +8,7 @@ The `example` folder contains a Dapr enabled `serving` app a `client` app that u
|
|||
```
|
||||
cd example/serving
|
||||
dapr run --app-id serving \
|
||||
--protocol grpc \
|
||||
--app-protocol grpc \
|
||||
--app-port 50001 \
|
||||
go run main.go
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue