Skip to content

Commit 7f1c06a

Browse files
docs(kitex): add explicit build and start commands for item service (#1323)
1 parent c411f5a commit 7f1c06a

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

content/en/docs/kitex/Getting started/tutorial.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,14 @@ func main() {
595595

596596
Since the stock service is running on port 8890, we specify that port when creating the client.
597597

598-
With this, the item service code is complete. Recompile and launch the item service as mentioned earlier. If you see the following output, it means the service is running successfully:
598+
At this point, the item service code is complete. Recompile and start the item service with the following commands:
599+
600+
```bash
601+
sh build.sh
602+
sh output/bootstrap.sh
603+
```
604+
605+
If you see the following output, it means the service is running successfully:
599606

600607
```
601608
2024/01/21 00:18:29.522546 server.go:83: [Info] KITEX: server listen at addr=[::]:8888

content/zh/docs/kitex/Getting started/tutorial.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,14 @@ func main() {
598598

599599
由于库存服务跑在 8890 端口,所以我们指定 8890 端口创建客户端。
600600

601-
至此,商品服务代码编写完整,参照上文重新编译启动商品服务,看到如下输出代表运行成功:
601+
至此,商品服务代码编写完整,参照上文重新编译并启动商品服务,具体命令如下:
602+
603+
```bash
604+
sh build.sh
605+
sh output/bootstrap.sh
606+
```
607+
608+
看到如下输出代表运行成功:
602609

603610
```
604611
2024/01/21 00:18:29.522546 server.go:83: [Info] KITEX: server listen at addr=[::]:8888

0 commit comments

Comments
 (0)