forked from vesoft-inc/nebula-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3ae340a
commit 6f94b2b
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
49 changes: 49 additions & 0 deletions
49
...tallation/2.compile-and-install-nebula-graph/8.deploy-nebula-graph-with-lite.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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! | ||
``` |