mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-04-21 13:40:00 +08:00
Doc: update launch from source. (#6074)
### What problem does this PR solve? #6050 ### Type of change - [x] Documentation Update --------- Co-authored-by: writinwaters <93570324+writinwaters@users.noreply.github.com>
This commit is contained in:
parent
56e984f657
commit
f0601afa75
@ -91,10 +91,16 @@ docker compose -f docker/docker-compose-base.yml up -d
|
|||||||
export HF_ENDPOINT=https://hf-mirror.com
|
export HF_ENDPOINT=https://hf-mirror.com
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Run the **entrypoint.sh** script to launch the backend service:
|
4. Check the configuration in **conf/service_conf.yaml**, ensuring all hosts and ports are correctly set.
|
||||||
|
|
||||||
|
5. Run the **entrypoint.sh** script to launch the backend service:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
JEMALLOC_PATH=$(pkg-config --variable=libdir jemalloc)/libjemalloc.so;
|
||||||
|
LD_PRELOAD=$JEMALLOC_PATH python rag/svr/task_executor.py 1;
|
||||||
```
|
```
|
||||||
bash docker/entrypoint.sh
|
```shell
|
||||||
|
python api/ragflow_server.py;
|
||||||
```
|
```
|
||||||
|
|
||||||
### Launch the RAGFlow frontend service
|
### Launch the RAGFlow frontend service
|
||||||
|
Loading…
x
Reference in New Issue
Block a user