From f0601afa75f75c59c940d3f1ba82404ec70142c9 Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Fri, 14 Mar 2025 14:20:18 +0800 Subject: [PATCH] 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> --- docs/develop/launch_ragflow_from_source.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/develop/launch_ragflow_from_source.md b/docs/develop/launch_ragflow_from_source.md index 28683072b..b81e14e6a 100644 --- a/docs/develop/launch_ragflow_from_source.md +++ b/docs/develop/launch_ragflow_from_source.md @@ -91,10 +91,16 @@ docker compose -f docker/docker-compose-base.yml up -d 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