Explorar el Código

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 hace 1 año
padre
commit
fe2f5205fc
No account linked to committer's email address
Se han modificado 2 ficheros con 7 adiciones y 5 borrados
  1. 1
    0
      .gitattributes
  2. 6
    5
      docs/faq.md

+ 1
- 0
.gitattributes Ver fichero

@@ -0,0 +1 @@
*.sh text eol=lf

+ 6
- 5
docs/faq.md Ver fichero

@@ -208,19 +208,20 @@ docker compose up ragflow -d
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`.
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
```
3. Change directory:
4. Change directory:
```bash
cd docker
```
4. Stop the RAGFlow server:
5. Stop the RAGFlow server:
```bash
docker compose stop
```
5. Restart up the RAGFlow server:
6. Restart up the RAGFlow server:
```bash
docker compose up
```
@@ -231,4 +232,4 @@ This exception occurs when starting up the RAGFlow server. Try the following:

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

Cargando…
Cancelar
Guardar