更新readme
This commit is contained in:
parent
36f8eb8929
commit
3ed66f6a5d
25
README.md
25
README.md
|
@ -24,24 +24,13 @@ https://tekii.cn/ner
|
||||||
git clone https://github.com/datawhalechina/whale-anno.git
|
git clone https://github.com/datawhalechina/whale-anno.git
|
||||||
```
|
```
|
||||||
#### 下载依赖
|
#### 下载依赖
|
||||||
##### 下载后端依赖
|
|
||||||
```shell
|
```shell
|
||||||
# 下载后端依赖
|
# 下载后端依赖
|
||||||
python3 -m pip install flask
|
python3 -m pip install flask
|
||||||
```
|
```
|
||||||
后端只依赖了flask这个第三方库
|
后端只依赖了flask这个第三方库
|
||||||
|
|
||||||
##### 下载前端依赖
|
|
||||||
```shell
|
|
||||||
# 进入前端文件夹
|
|
||||||
cd ./fe
|
|
||||||
# 下载前端依赖
|
|
||||||
npm install
|
|
||||||
```
|
|
||||||
npm为Node.js安装以后自带的包管理工具
|
|
||||||
|
|
||||||
### 2.启动项目
|
### 2.启动项目
|
||||||
#### 启动后端
|
|
||||||
打开终端
|
打开终端
|
||||||
```shell
|
```shell
|
||||||
# 进入后端目录
|
# 进入后端目录
|
||||||
|
@ -49,20 +38,10 @@ cd ./be
|
||||||
# 启动后端脚本
|
# 启动后端脚本
|
||||||
python3 ./run.py
|
python3 ./run.py
|
||||||
```
|
```
|
||||||
此时项目的后端会被启动在http://localhost:9060
|
此时项目会被启动在http://localhost:9060/index.html
|
||||||
|
|
||||||
#### 启动前端
|
|
||||||
用上述方法,打开一个新的命令行
|
|
||||||
```shell
|
|
||||||
# 进入前端
|
|
||||||
cd ./fe
|
|
||||||
# 启动前端页面
|
|
||||||
npm run start
|
|
||||||
```
|
|
||||||
此时项目的前端会被启动在http://localhost:8080
|
|
||||||
|
|
||||||
### 3.开始使用
|
### 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)查看单机版使用教程
|
||||||
|
|
||||||
|
|
||||||
## 开发团队
|
## 开发团队
|
||||||
|
|
Loading…
Reference in New Issue