瀏覽代碼

add lf end-lines in `*.sh` (#425)

### What problem does this PR solve?

link #279 #266 

### Type of change

- [x] Documentation Update

---------

Co-authored-by: writinwaters <93570324+writinwaters@users.noreply.github.com>
tags/v0.3.0
ooo oo 1 年之前
父節點
當前提交
fe2f5205fc
沒有連結到貢獻者的電子郵件帳戶。
共有 2 個檔案被更改,包括 7 行新增5 行删除
  1. 1
    0
      .gitattributes
  2. 6
    5
      docs/faq.md

+ 1
- 0
.gitattributes 查看文件

*.sh text eol=lf

+ 6
- 5
docs/faq.md 查看文件

This exception occurs when starting up the RAGFlow server. Try the following: This exception occurs when starting up the RAGFlow server. Try the following:


1. Prolong the sleep time: Go to **docker/entrypoint.sh**, locate line 26, and replace `sleep 60` with `sleep 280`. 1. Prolong the sleep time: Go to **docker/entrypoint.sh**, locate line 26, and replace `sleep 60` with `sleep 280`.
2. Go to **docker/docker-compose.yml**, add the following after line 109:
2. If using Windows, ensure that the **entrypoint.sh** has LF end-lines.
3. Go to **docker/docker-compose.yml**, add the following after line 109:
``` ```
./entrypoint.sh:/ragflow/entrypoint.sh ./entrypoint.sh:/ragflow/entrypoint.sh
``` ```
3. Change directory:
4. Change directory:
```bash ```bash
cd docker cd docker
``` ```
4. Stop the RAGFlow server:
5. Stop the RAGFlow server:
```bash ```bash
docker compose stop docker compose stop
``` ```
5. Restart up the RAGFlow server:
6. Restart up the RAGFlow server:
```bash ```bash
docker compose up docker compose up
``` ```


1. Ensure that the RAGFlow server can access the base URL. 1. Ensure that the RAGFlow server can access the base URL.
2. Do not forget to append **/v1/** to **http://IP:port**: 2. Do not forget to append **/v1/** to **http://IP:port**:
**http://IP:port/v1/**
**http://IP:port/v1/**

Loading…
取消
儲存