Skip to content

Commit b6fb47a

Browse files
author
Moyee
authored
Merge pull request #26 from TuGraph-family/update-readme
fix: update readmefile
2 parents e824d8f + 47b59d8 commit b6fb47a

File tree

1 file changed

+31
-9
lines changed

1 file changed

+31
-9
lines changed

README.md

Lines changed: 31 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,51 @@
11
TuGraph DB BROWSER 🔗
22
TuGraph DB BROWSER 是 TuGraph 图数据库的可视化工具。可以完成图谱、模型、数据等的创建和导入。同时可用使用 TuGraph Cypher 进行数据的操作。
33

4-
0. 环境准备
4+
### 0. 环境准备
55

66
- node.js
77
- python2
88

9-
1. 安装项目
9+
### 1. 安装项目
1010

1111
```bash
1212
yarn run bootstrap
1313
```
1414

15-
2. 启动客户端
15+
### 2. 启动客户端
16+
#### 2.1 开发环境
17+
18+
##### 2.1.1. web 端
19+
20+
```bash
21+
22+
# 开发环境
23+
yarn run client-dev // 一定要 yarn
1624

17-
```js
18-
cd client
19-
yarn start // 切记,一定要 yarn start,npm run start 会存在若干问题!
2025
```
2126

22-
2. 启动服务端
27+
##### 2.1.2 启动服务端
2328

2429
```bash
25-
cd server
26-
npm run dec
30+
31+
yarn run server-dev
32+
33+
```
34+
35+
浏览器访问 http://localhost:8888
36+
37+
38+
#### 2.2 生产环境
39+
40+
41+
```bash
42+
43+
# 开发环境
44+
yarn run build
45+
46+
# 生产环境
47+
yarn start // 切记,一定要 yarn start,npm run start 会存在若干问题!
48+
2749
```
2850

2951
浏览器访问 http://localhost:8888

0 commit comments

Comments
 (0)