Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Doc: update launch from source. (#6074)

Kevin Huf0601afa75f7
diff --git a/docs/develop/launch_ragflow_from_source.md b/docs/develop/launch_ragflow_from_source.md
index 28683072b2..b81e14e6ae 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