Skip to content

Commit

Permalink
add NebulaGraph Lite
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper-lzy committed Apr 11, 2024
1 parent 3ae340a commit 6f94b2b
Showing 1 changed file with 49 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# 使用 NebulaGraph Lite 部署 {{nebula.name}}

使用 NebulaGraph Lite 可以快速安装部署 {{nebula.name}},仅需五分钟即可开始体验 {{nebula.name}} 图数据库。

## 优势

- 通过 Python 包管理工具快速安装 NebulaGraph Lite。
- 支持非 Root 权限部署 {{nebula.name}}。
- 支持在容器或任何基于 Jupyter Notebook 的平台上部署 {{nebula.name}}。

## 操作步骤

1. 执行如下命令安装 NebulaGraph Lite。

```bash
sudo apt install python3-pip
```

2. 启动 NebulaGraph Lite。

- 从 Jupyter Notebook 启动

```bash
from nebulagraph_lite import nebulagraph_let as ng_let
n = ng_let()
n.start()
```

- 从命令行启动

```bash
nebulagraph start
```

返回如下结果表示启动并导入测试数据成功。

```bash
Info: loading basketballplayer dataset...
_ _ _ _ ____ _
| \ | | ___| |__ _ _| | __ _ / ___|_ __ __ _ _ __ | |__
| \| |/ _ | '_ \| | | | |/ _` | | _| '__/ _` | '_ \| '_ \
| |\ | __| |_) | |_| | | (_| | |_| | | | (_| | |_) | | | |
|_| \_|\___|_.__/ \__,_|_|\__,_|\____|_| \__,_| .__/|_| |_|
|_|
lite version

[ OK ] nebulagraph_lite started successfully!
```

0 comments on commit 6f94b2b

Please sign in to comment.