Skip to content

Commit

Permalink
fix doc: remove skip_web description (TuGraph-family#425)
Browse files Browse the repository at this point in the history
* optimize ci workflow

* fix

* fix doc: remove skip_web
  • Loading branch information
qishipengqsp authored Mar 6, 2024
1 parent 8ab74ae commit f75c103
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ For more details, please refer to [quick start doc](docs/en-US/source/3.quick-st
It's recommended to build TuGraph in linux system, and docker environment is a good choice. If you want to setup a new environment, please refer to [Dockerfile](ci/images).

Here are steps to compile TuGraph:
1. `deps/build_deps.sh` or to skip building web interface `SKIP_WEB=1 deps/build_deps.sh`
1. run `deps/build_deps.sh` to build tugraph-web if you need. Skip this step otherwise.
2. `cmake .. -DOURSYSTEM=centos` or `cmake .. -DOURSYSTEM=ubuntu`
3. If support shell lgraph_cypher, use `-DENABLE_PREDOWNLOAD_DEPENDS_PACKAGE=1`
4. `make`
Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ TuGraph的文档在[链接](https://tugraph-db.readthedocs.io/zh_CN/latest),

以下是编译TuGraph的步骤:

1. 如果需要web接口运行`deps/build_deps.sh`不需要web接口则运行`SKIP_WEB=1 deps/build_deps.sh`
1. 如果需要web接口运行`deps/build_deps.sh`不需要web接口则跳过此步骤
2. 根据容器系统信息执行`cmake .. -DOURSYSTEM=centos`或者`cmake .. -DOURSYSTEM=ubuntu`,如果需要shell运行lgraph_cypher,加上`-DENABLE_PREDOWNLOAD_DEPENDS_PACKAGE=1`
3. `make`
4. `make package` 或者 `cpack --config CPackConfig.cmake`
Expand Down
2 changes: 1 addition & 1 deletion ci/github_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ bash ./cpplint/check_all.sh

# build deps
cd deps
SKIP_WEB=1 bash ./build_deps.sh -j2
bash ./build_deps.sh -j2

# build tugraph
cd $WORKSPACE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ It is recommended to build TuGraph on a Linux system. Meanwhile, Docker is a goo

Here are steps to compile TuGraph:

1. `deps/build_deps.sh` or to skip building web interface `SKIP_WEB=1 deps/build_deps.sh`
1. run `deps/build_deps.sh` to build tugraph-web if you need. Skip this step otherwise.
2. `cmake .. -DOURSYSTEM=centos` or `cmake .. -DOURSYSTEM=ubuntu`
3. If support shell lgraph_cypher, use `-DENABLE_PREDOWNLOAD_DEPENDS_PACKAGE=1`
4. If compiling on an arm machine (such as a Mac with M1 chip), add `-DENABLE_BUILD_ON_AARCH64=ON`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

以下是编译TuGraph的步骤:

1. 如果需要web接口运行`deps/build_deps.sh`不需要web接口则运行`SKIP_WEB=1 deps/build_deps.sh`
1. 如果需要web接口运行`deps/build_deps.sh`不需要web接口则跳过此步骤
2. 根据容器系统信息执行`cmake .. -DOURSYSTEM=centos`或者`cmake .. -DOURSYSTEM=ubuntu`,如果需要shell运行lgraph_cypher,加上`-DENABLE_PREDOWNLOAD_DEPENDS_PACKAGE=1`,如果在arm机器编译(如M1芯片的Mac中,需要加上` -DENABLE_BUILD_ON_AARCH64=ON`
3. `make`
4. `make package` 或者 `cpack --config CPackConfig.cmake`
Expand Down

0 comments on commit f75c103

Please sign in to comment.