Skip to content

Commit

Permalink
Update 1.install-nebula-graph-by-compiling-the-source-code.md
Browse files Browse the repository at this point in the history
  • Loading branch information
abby-cyber committed Oct 29, 2021
1 parent f47058f commit 77ec875
Showing 1 changed file with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,29 +20,29 @@

1. 克隆Nebula Graph的源代码到主机。

- [推荐]如果需要安装{{nebula.release}}版本的Nebula Graph,执行如下命令:
- [推荐]如果需要安装{{nebula.release}}版本的Nebula Graph,执行如下命令:

```bash
$ git clone --branch {{nebula.branch}} https://github.com/vesoft-inc/nebula.git
```
```bash
$ git clone --branch {{nebula.branch}} https://github.com/vesoft-inc/nebula.git
```

- 如果需要安装最新的开发版本用于测试,执行如下命令克隆master分支的代码:
- 如果需要安装最新的开发版本用于测试,执行如下命令克隆master分支的代码:

```bash
$ git clone https://github.com/vesoft-inc/nebula.git
```
```bash
$ git clone https://github.com/vesoft-inc/nebula.git
```

2. 进入目录`nebula`

```bash
$ cd nebula
```
```bash
$ cd nebula
```

3. 创建目录`build`并进入该目录。

```bash
$ mkdir build && cd build
```
```bash
$ mkdir build && cd build
```

4. 使用CMake生成makefile文件。

Expand Down Expand Up @@ -84,9 +84,9 @@

master分支的代码更新速度快,如果安装了master分支对应的开发版Nebula Graph,可根据以下步骤更新版本。

1. 在目录`nebula`中,执行命令`git pull upstream master`更新源码。
1. 在目录`nebula`中,执行命令`git pull upstream master`更新源码。

2. 在目录`nebula/build`中,重新执行`make -j{N}``make install`
2. 在目录`nebula/build`中,重新执行`make -j{N}``make install`

## 下一步

Expand Down

0 comments on commit 77ec875

Please sign in to comment.