forked from mosn/layotto
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
wangzhilong23
committed
Apr 10, 2022
1 parent
fa5ebd7
commit f417d85
Showing
2 changed files
with
7 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,21 +15,16 @@ go build -o layotto cmd/layotto/main.go | |
|
||
这里使用了`dubbo-go-samples`提供的示例服务 | ||
```sh | ||
git clone [email protected]:apache/dubbo-go-samples.git | ||
git clone [email protected]:apache/dubbo-go-samples.git (f0d1e1076397a4736de080ffb16cd0963c8c2f9d since Sun Mar 20 22:01:12) | ||
cd dubbo-go-samples | ||
|
||
# start zookeeper | ||
cd attachment/go-server | ||
make -f ../../build/Makefile docker-up | ||
cd - | ||
cd rpc/jsonrpc/go-server | ||
docker-compose -f docker/docker-compose.yml up -d | ||
|
||
# build dubbo server | ||
cd general/jsonrpc/go-server | ||
sh assembly/mac/dev.sh | ||
|
||
# start dubbo server | ||
cd target/darwin/{generate_folder}/ | ||
sh ./bin/load.sh start | ||
# build && start dubbo server | ||
cd cmd | ||
go run . | ||
``` | ||
|
||
4. 通过GPRC接口发起调用 | ||
|