Fixing instructions in README.md

This commit is contained in:
Artur Souza 2019-12-06 11:48:34 -08:00 committed by GitHub
parent c3b7c41dfd
commit 46cd8d997a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 6 deletions

View File

@ -6,12 +6,10 @@ For more info on Dapr and gRPC, visit [this link](https://github.com/dapr/docs/t
### Installing ### Installing
The client will generate gRPC Client and Protobuf classes during build. Clone this repository including the submodules:
Make sure to clone this repository including the submodules:
```sh ```sh
git clone --recurse-submodules https://github.com/dapr/java-sdk.git git clone https://github.com/dapr/java-sdk.git
``` ```
Then head over to build the Maven project: Then head over to build the Maven project:
@ -23,8 +21,7 @@ mvn install
### Running an example ### Running an example
```sh ```sh
cd examples/ dapr run --protocol grpc --grpc-port 50001 -- mvn exec:java -pl examples -Dexec.mainClass=io.dapr.examples.Example
dapr run --protocol grpc --grpc-port 50001 -- mvn exec:java -Dexec.mainClass=io.dapr.examples.Example
``` ```
### Creating and publishing the artifacts to Nexus Repository ### Creating and publishing the artifacts to Nexus Repository