diff --git a/README.md b/README.md
index 351a0f313ce0ce35e025a116bcb505924669ba05..b4ff1902a4b055e36424ea3daeeeca0983099976 100644
--- a/README.md
+++ b/README.md
@@ -1,14 +1,13 @@
-# MogDB 文档网站 v1.0
+# MogDB 文档网站 v2.1
## 🧐 参考资料
-1. [GatsbyJS参考文档](https://www.gatsbyjs.cn/tutorial/part-six/#transformer-plugins)
-2. [文档风格参考](https://docs.pingcap.com/zh/tidb/stable/overview)
+- [GatsbyJS参考文档](https://www.gatsbyjs.cn/tutorial/part-six/#transformer-plugins)
## 🚀 快速开始
-node 版本 v12.22.1
+node 版本 v15.14.0
1. **安装依赖包**
@@ -29,7 +28,7 @@ node 版本 v12.22.1
```bash
npm run build
- # 使用rsync 同步到nginx 部署目录
+ # 使用 rsync 同步到 nginx 部署目录
rsync -rltgoD --delete public/ /data/mogdb-docs
```
diff --git a/product/en/docs-mogdb/v2.1/quick-start/mogila.md b/product/en/docs-mogdb/v2.1/quick-start/mogila.md
index ae9edfac82cf3178e6dff9f7f60261ed5d4f466e..678da5adb8826dea794f8ec88b090363fed1f8c5 100644
--- a/product/en/docs-mogdb/v2.1/quick-start/mogila.md
+++ b/product/en/docs-mogdb/v2.1/quick-start/mogila.md
@@ -26,19 +26,19 @@ The image below shows an overview of the Mogila database tables and views. Here
## Use Mogila on MogDB Container Edition
1. On terminal pull the latest mogdb image:
-
+
- amd
-
+
```
docker pull swr.cn-north-4.myhuaweicloud.com/mogdb/mogdb:2.1.0_amd
```
-
+
- arm
-
+
```
docker pull swr.cn-north-4.myhuaweicloud.com/mogdb/mogdb:2.1.0_arm
```
-
+
2. Run image:
```
@@ -53,10 +53,10 @@ The image below shows an overview of the Mogila database tables and views. Here
gsql ((MogDB 2.1.0 build 56189e20) compiled at 2022-01-07 18:47:53 commit 0 last mr )
Non-SSL connection (SSL connection is recommended when requiring high-security)
Type "help" for help.
-
+
mogila=# \dt
List of relations
- Schema | Name | Type | Owner | Storage
+ Schema | Name | Type | Owner | Storage
--------+---------------+-------+-------+----------------------------------
public | actor | table | mogdb | {orientation=row,compression=no}
public | address | table | mogdb | {orientation=row,compression=no}
@@ -74,7 +74,7 @@ The image below shows an overview of the Mogila database tables and views. Here
public | staff | table | mogdb | {orientation=row,compression=no}
public | store | table | mogdb | {orientation=row,compression=no}
(15 rows)
-
+
mogila=#
```
@@ -99,7 +99,7 @@ The image below shows an overview of the Mogila database tables and views. Here
MogDB=#create user mogdb password 'Enmo@123';
CREATE ROLE
MogDB=#\q
- [omm@test ~]$
+ [omm@test ~]$
```
3. [Download mogila](https://gitee.com/enmotech/mogila), and upload the files to the server and enter the directory where mogila files are located.
@@ -133,10 +133,10 @@ The image below shows an overview of the Mogila database tables and views. Here
gsql ((MogDB 2.1.0 build 56189e20) compiled at 2022-01-07 18:47:53 commit 0 last mr )
Non-SSL connection (SSL connection is recommended when requiring high-security)
Type "help" for help.
-
+
mogila=# \dt
List of relations
- Schema | Name | Type | Owner | Storage
+ Schema | Name | Type | Owner | Storage
--------+---------------+-------+-------+----------------------------------
public | actor | table | mogdb | {orientation=row,compression=no}
public | address | table | mogdb | {orientation=row,compression=no}
@@ -154,8 +154,9 @@ The image below shows an overview of the Mogila database tables and views. Here
public | staff | table | mogdb | {orientation=row,compression=no}
public | store | table | mogdb | {orientation=row,compression=no}
(15 rows)
-
+
mogila=#
+ ```
diff --git a/product/zh/docs-mogdb/v2.1/quick-start/mogila.md b/product/zh/docs-mogdb/v2.1/quick-start/mogila.md
index ac95395708535174b26b9ac29e2833db6f9483f5..62990570cc8e2fe91d765ed897e7b964443b3064 100644
--- a/product/zh/docs-mogdb/v2.1/quick-start/mogila.md
+++ b/product/zh/docs-mogdb/v2.1/quick-start/mogila.md
@@ -31,7 +31,7 @@ Mogila适用于MogDB 2.1.0及更高版本。
```
docker pull swr.cn-north-4.myhuaweicloud.com/mogdb/mogdb:2.1.0_amd
```
-
+
- arm
```
@@ -52,10 +52,10 @@ Mogila适用于MogDB 2.1.0及更高版本。
gsql ((MogDB 2.1.0 build 56189e20) compiled at 2022-01-07 18:47:53 commit 0 last mr )
Non-SSL connection (SSL connection is recommended when requiring high-security)
Type "help" for help.
-
+
mogila=# \dt
List of relations
- Schema | Name | Type | Owner | Storage
+ Schema | Name | Type | Owner | Storage
--------+---------------+-------+-------+----------------------------------
public | actor | table | mogdb | {orientation=row,compression=no}
public | address | table | mogdb | {orientation=row,compression=no}
@@ -73,7 +73,7 @@ Mogila适用于MogDB 2.1.0及更高版本。
public | staff | table | mogdb | {orientation=row,compression=no}
public | store | table | mogdb | {orientation=row,compression=no}
(15 rows)
-
+
mogila=#
```
@@ -98,7 +98,7 @@ Mogila适用于MogDB 2.1.0及更高版本。
MogDB=#create user mogdb password 'Enmo@123';
CREATE ROLE
MogDB=#\q
- [omm@test ~]$
+ [omm@test ~]$
```
3. [下载mogila](https://gitee.com/enmotech/mogila),并上传至服务器中,进入mogila所在目录。
@@ -132,10 +132,10 @@ Mogila适用于MogDB 2.1.0及更高版本。
gsql ((MogDB 2.1.0 build 56189e20) compiled at 2022-01-07 18:47:53 commit 0 last mr )
Non-SSL connection (SSL connection is recommended when requiring high-security)
Type "help" for help.
-
+
mogila=# \dt
List of relations
- Schema | Name | Type | Owner | Storage
+ Schema | Name | Type | Owner | Storage
--------+---------------+-------+-------+----------------------------------
public | actor | table | mogdb | {orientation=row,compression=no}
public | address | table | mogdb | {orientation=row,compression=no}
@@ -153,8 +153,9 @@ Mogila适用于MogDB 2.1.0及更高版本。
public | staff | table | mogdb | {orientation=row,compression=no}
public | store | table | mogdb | {orientation=row,compression=no}
(15 rows)
-
+
mogila=#
+ ```