mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-13 02:58:59 +08:00
doc: fix zh and ja document type (#2012)
### What problem does this PR solve? - Fix zh and ja document types to allow users to read better ### Type of change - [ ] Bug Fix (non-breaking change which fixes an issue) - [ ] New Feature (non-breaking change which adds functionality) - [x] Documentation Update - [ ] Refactoring - [ ] Performance Improvement - [ ] Other (please describe):
This commit is contained in:
parent
be431449bd
commit
7927d80a84
@ -213,12 +213,14 @@ $ docker compose up -d
|
|||||||
如需从源码启动服务,请参考以下步骤:
|
如需从源码启动服务,请参考以下步骤:
|
||||||
|
|
||||||
1. 克隆仓库
|
1. 克隆仓库
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ git clone https://github.com/infiniflow/ragflow.git
|
$ git clone https://github.com/infiniflow/ragflow.git
|
||||||
$ cd ragflow/
|
$ cd ragflow/
|
||||||
```
|
```
|
||||||
|
|
||||||
2. 创建虚拟环境(确保已安装 Anaconda 或 Miniconda)
|
2. 创建虚拟环境(确保已安装 Anaconda 或 Miniconda)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ conda create -n ragflow python=3.11.0
|
$ conda create -n ragflow python=3.11.0
|
||||||
$ conda activate ragflow
|
$ conda activate ragflow
|
||||||
@ -231,6 +233,7 @@ $ pip install onnxruntime-gpu --extra-index-url https://aiinfra.pkgs.visualstudi
|
|||||||
```
|
```
|
||||||
|
|
||||||
3. 拷贝入口脚本并配置环境变量
|
3. 拷贝入口脚本并配置环境变量
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cp docker/entrypoint.sh .
|
$ cp docker/entrypoint.sh .
|
||||||
$ vi entrypoint.sh
|
$ vi entrypoint.sh
|
||||||
@ -254,6 +257,7 @@ export HF_ENDPOINT=https://hf-mirror.com
|
|||||||
```
|
```
|
||||||
|
|
||||||
4. 启动基础服务
|
4. 启动基础服务
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cd docker
|
$ cd docker
|
||||||
$ docker compose -f docker-compose-base.yml up -d
|
$ docker compose -f docker-compose-base.yml up -d
|
||||||
@ -263,11 +267,14 @@ $ docker compose -f docker-compose-base.yml up -d
|
|||||||
确保**docker/.env**中的配置与**conf/service_conf.yaml**中配置一致, **service_conf.yaml**中相关服务的IP地址与端口应该改成本机IP地址及容器映射出来的端口。
|
确保**docker/.env**中的配置与**conf/service_conf.yaml**中配置一致, **service_conf.yaml**中相关服务的IP地址与端口应该改成本机IP地址及容器映射出来的端口。
|
||||||
|
|
||||||
6. 启动服务
|
6. 启动服务
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ chmod +x ./entrypoint.sh
|
$ chmod +x ./entrypoint.sh
|
||||||
$ bash ./entrypoint.sh
|
$ bash ./entrypoint.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
7. 启动WebUI服务
|
7. 启动WebUI服务
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cd web
|
$ cd web
|
||||||
$ npm install --registry=https://registry.npmmirror.com --force
|
$ npm install --registry=https://registry.npmmirror.com --force
|
||||||
@ -277,6 +284,7 @@ $ npm run dev
|
|||||||
```
|
```
|
||||||
|
|
||||||
8. 部署WebUI服务
|
8. 部署WebUI服务
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cd web
|
$ cd web
|
||||||
$ npm install --registry=https://registry.npmmirror.com --force
|
$ npm install --registry=https://registry.npmmirror.com --force
|
||||||
|
Loading…
x
Reference in New Issue
Block a user