Skip to content

Commit b551979

Browse files
committed
Update README_zh.md
1 parent 63499b6 commit b551979

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README_zh.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,37 @@ xmake -vD
1616
```
1717

1818
## 克隆项目
19+
```bash
1920
git clone --recursive https://github.com/f0cii/moxt-cpp.git
21+
```
2022

2123
## 更新代码
24+
```bash
2225
git pull --recurse-submodules
26+
```
27+
2328
## 更新子模块
29+
```bash
2430
git submodule update --init --recursive
31+
```
2532

2633
## 使用 Docker 编译
34+
```bash
2735
docker build -t moxt-cpp -f moxt-cpp.Dockerfile .
36+
```
2837

2938
[![Docker Image CI](https://github.com/f0cii/moxt-cpp/actions/workflows/docker-image.yml/badge.svg)](https://github.com/f0cii/moxt-cpp/actions/workflows/docker-image.yml)
3039

3140
编译后运行docker容器
41+
```bash
3242
docker run -it moxt-cpp
43+
```
3344

3445
查看编译结果
46+
```bash
3547
cd /root/moxt-cpp/build/linux/x86_64/release
3648
ls
49+
```
3750
将显示如下文件,此so文件即为我们项目编译的最终结果
3851
libmoxt.so
3952

0 commit comments

Comments
 (0)