Docs: Update README.md (#7607)

### What problem does this PR solve?

Add libjemalloc installation command. If the operating system does not
have the libjemalloc library, the execution of entrypoint.sh and
launch_backend_service.sh will be interrupted, and the
rag/svr/task_executor.py script will not be started normally.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
- [ ] New Feature (non-breaking change which adds functionality)
- [x] Documentation Update
- [ ] Refactoring
- [ ] Performance Improvement
- [ ] Other (please describe):

---------

Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
This commit is contained in:
FrozenZero 2025-05-14 14:24:30 +08:00 committed by GitHub
parent bfe97d896d
commit 4ac61fc470
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -327,7 +327,15 @@ docker build --platform linux/amd64 -f Dockerfile -t infiniflow/ragflow:nightly
export HF_ENDPOINT=https://hf-mirror.com export HF_ENDPOINT=https://hf-mirror.com
``` ```
5. Launch backend service: 5. If your operating system does not have jemalloc, please install it as follows,
```bash
# ubuntu
sudo apt-get install libjemalloc-dev
# centos
sudo yum install jemalloc
```
6. Launch backend service:
```bash ```bash
source .venv/bin/activate source .venv/bin/activate
@ -335,12 +343,13 @@ docker build --platform linux/amd64 -f Dockerfile -t infiniflow/ragflow:nightly
bash docker/launch_backend_service.sh bash docker/launch_backend_service.sh
``` ```
6. Install frontend dependencies:
7. Install frontend dependencies:
```bash ```bash
cd web cd web
npm install npm install
``` ```
7. Launch frontend service: 8. Launch frontend service:
```bash ```bash
npm run dev npm run dev