Skip to content
Permalink
Browse files
fix quick start doc (#891)
  • Loading branch information
masquee committed Aug 13, 2021
1 parent b4ee5d4 commit e6eab4930985413fa25a9e5c1f72608e40872bd6
Showing 1 changed file with 4 additions and 4 deletions.
@@ -20,19 +20,19 @@ $ cd dubbo-samples/dubbo-samples-protobuf
## 快速运行示例
在 dubbo-samples-protobuf 目录

1. 编译示例项目
1. 编译并打包示例项目
```shell script
$ mvn clean compile
$ mvn clean package
```

2. 运行 Provider
```shell script
$ java -jar ./dubbo-samples-protobuf/protobuf-provider/target/protobuf-provider-1.0-SNAPSHOT.jar
$ java -jar ./protobuf-provider/target/protobuf-provider-1.0-SNAPSHOT.jar
```

3. 运行 consumer
```shell script
$ java -jar ./dubbo-samples-protobuf/protobuf-provider/target/protobuf-consumer-1.0-SNAPSHOT.jar
$ java -jar ./protobuf-consumer/target/protobuf-consumer-1.0-SNAPSHOT.jar
输出以下结果
result: Hello Hello, response from provider: 30.225.20.43:20880

0 comments on commit e6eab49

Please sign in to comment.