更新readme

This commit is contained in:
Sm1les 2021-06-24 22:15:36 +08:00
parent 36f8eb8929
commit 3ed66f6a5d
1 changed files with 2 additions and 23 deletions

View File

@ -24,24 +24,13 @@ https://tekii.cn/ner
git clone https://github.com/datawhalechina/whale-anno.git
```
#### 下载依赖
##### 下载后端依赖
```shell
# 下载后端依赖
python3 -m pip install flask
```
后端只依赖了flask这个第三方库
##### 下载前端依赖
```shell
# 进入前端文件夹
cd ./fe
# 下载前端依赖
npm install
```
npm为Node.js安装以后自带的包管理工具
### 2.启动项目
#### 启动后端
打开终端
```shell
# 进入后端目录
@ -49,20 +38,10 @@ cd ./be
# 启动后端脚本
python3 ./run.py
```
此时项目的后端会被启动在http://localhost:9060
#### 启动前端
用上述方法,打开一个新的命令行
```shell
# 进入前端
cd ./fe
# 启动前端页面
npm run start
```
此时项目的前端会被启动在http://localhost:8080
此时项目会被启动在http://localhost:9060/index.html
### 3.开始使用
打开上述前端页面地址 http://localhost:8080 ,然后点击[这里](https://www.bilibili.com/video/BV1v64y197iA?p=2)查看使用教程。此外我们还提供了一个用于临时标注少量数据的单机版本目前仅支持Windows点击[这里](https://github.com/datawhalechina/whale-anno/releases)去下载,点击[这里](https://www.bilibili.com/video/BV1v64y197iA?p=1)查看单机版使用教程
打开上述地址,然后点击[这里](https://www.bilibili.com/video/BV1v64y197iA?p=2)查看使用教程。此外我们还提供了一个用于临时标注少量数据的单机版本目前仅支持Windows点击[这里](https://github.com/datawhalechina/whale-anno/releases)去下载,点击[这里](https://www.bilibili.com/video/BV1v64y197iA?p=1)查看单机版使用教程
## 开发团队