You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2021/08/17 04:54:58 UTC
[shardingsphere] branch master updated: Compile source code
directory modification (#11844)
This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 7576f52 Compile source code directory modification (#11844)
7576f52 is described below
commit 7576f52a7aeb02bd33c3910eae52591d0797b0cf
Author: yx9o <ya...@163.com>
AuthorDate: Tue Aug 17 12:54:29 2021 +0800
Compile source code directory modification (#11844)
* Compile source code directory modification
* Modify branch name
---
examples/README.md | 4 ++--
examples/README_ZH.md | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/examples/README.md b/examples/README.md
index 8c1574e..3356b99 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -12,7 +12,7 @@ Example for 2.x or 3.x or 4.x please see tags in `https://github.com/apache/shar
- *Please make sure primary replica data replication sync on MySQL is running correctly. Otherwise, primary-replica example will query empty data from the replica.*
-## Using `dev` branch
+## Using `master` branch
Please make sure some dependencies from [Apache ShardingSphere](https://github.com/apache/shardingsphere) has been installed since examples depend on that.
if you are a newbie for Apache ShardingSphere, you could prepare the dependencies as following:
@@ -24,7 +24,7 @@ if you are a newbie for Apache ShardingSphere, you could prepare the dependencie
git clone https://github.com/apache/shardingsphere.git
## compile source code
-cd shardingsphere/examples
+cd shardingsphere
mvn clean install -Prelease
```
diff --git a/examples/README_ZH.md b/examples/README_ZH.md
index 55f9380..3715dc1 100644
--- a/examples/README_ZH.md
+++ b/examples/README_ZH.md
@@ -6,13 +6,13 @@
**注意事项**
-- *请不要使用`dev`分支来运行您的示例,`dev`分支的示例尚未发布。*
+- *请不要使用 `dev` 分支来运行您的示例,`dev` 分支的示例尚未发布。*
- *如果采用手动模式,请在首次运行示例之前执行[初始化脚本](https://github.com/apache/shardingsphere/blob/master/examples/src/resources/manual_schema.sql)。*
-- *请确保MySQL上的主从数据同步正确运行。否则,读写分离示例查询从库数据为空。*
+- *请确保 MySQL 上的主从数据同步正确运行。否则,读写分离示例查询从库数据为空。*
-## 使用 `dev` 分支
+## 使用 `master` 分支
请在开始该示例之前,请确保已安装了来自 [Apache ShardingSphere](https://github.com/apache/shardingsphere) 的全部依赖项。
如果您是 ShardingSphere 的新手,您可以准备如下依赖:
@@ -24,7 +24,7 @@
git clone https://github.com/apache/shardingsphere.git
## 编译源码
-cd shardingsphere/examples
+cd shardingsphere
mvn clean install -Prelease
```