Skip to content

Commit

Permalink
fix: update readme docs (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
Moyee authored Nov 24, 2023
1 parent d284b2d commit 5760565
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ TuGraph DB BROWSER 是 TuGraph 图数据库的可视化工具。可以完成图
### 0. 环境准备

- node.js
- python2

### 1. 安装项目

Expand All @@ -20,7 +19,7 @@ yarn run bootstrap
```bash

# 开发环境
yarn run client-dev // 一定要 yarn
yarn run client-dev

```

Expand All @@ -40,15 +39,18 @@ yarn run server-dev

```bash

# 开发环境
# 安装依赖
yarn run bootstrap

# 构建
yarn run build

# 生产环境
yarn start // 切记,一定要 yarn start,npm run start 会存在若干问题!
yarn start

```

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


发布时打压缩包
Expand Down
5 changes: 2 additions & 3 deletions client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"author": "聚则 <zhanning.bzn@antgroup.com>",
"author": "baizn<576375879@qq.com>",
"scripts": {
"dev": "umi dev",
"build": "NODE_ENV=production && umi build",
Expand Down Expand Up @@ -87,6 +87,5 @@
"tsparticles-shape-text": "2.9.3",
"tsparticles-updater-life": "2.9.3",
"tsparticles-updater-stroke-color": "2.9.3"
},
"repository": "[email protected]:Ant_Graph/geaflow-console.git"
}
}

0 comments on commit 5760565

Please sign in to comment.