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:
植心 2024-08-20 18:49:11 +08:00 committed by GitHub
parent be431449bd
commit 7927d80a84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 22 additions and 14 deletions

View File

@ -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