diff --git a/docs/cn/How-to-build-CN.md b/docs/cn/How-to-build-CN.md index 07ce42936..75e4daebc 100644 --- a/docs/cn/How-to-build-CN.md +++ b/docs/cn/How-to-build-CN.md @@ -6,6 +6,9 @@ ### 编译步骤 1. 准备环境,jdk8,Maven +1. `git clone https://github.com/apache/incubator-skywalking.git` +1. `git submodule init` +1. `git submodule update` 1. 执行`mvn clean package` 1. 生成包在`/packages`目录下,包括一个`skywalking-agent`的探针目录,以及两个collector包(.tar.gz是linux环境,.zip是windows环境) diff --git a/docs/en/How-to-build.md b/docs/en/How-to-build.md index c6ea808e8..422881b81 100644 --- a/docs/en/How-to-build.md +++ b/docs/en/How-to-build.md @@ -3,6 +3,9 @@ This document helps people to compile and build the project in your maven and ID ## Build in maven 1. Prepare JDK8 and maven3 +1. `git clone https://github.com/apache/incubator-skywalking.git` +1. `git submodule init` +1. `git submodule update` 1. Run `mvn clean package` 1. All packages are in `/packages`, which includes `skywalking-agent` folder, and two collector files(.tar.gz for Linux and .zip for Windows)