Update README.md

Add `--protocol` flag for grpc
This commit is contained in:
Yaron Schneider 2019-10-11 11:26:34 -07:00 committed by GitHub
parent 12b2d12f95
commit 18b5b19fde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,5 +10,5 @@ mvn package install
```sh
cd examples/
mvn compile
dapr run --grpc-port 50001 -- mvn exec:java -Dexec.mainClass=io.dapr.examples.Example
dapr run --protocol grpc --grpc-port 50001 -- mvn exec:java -Dexec.mainClass=io.dapr.examples.Example
```