Browse Source

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>
tags/v0.19.0
FrozenZero 5 months ago
parent
commit
4ac61fc470
No account linked to committer's email address
1 changed files with 12 additions and 3 deletions
  1. 12
    3
      README.md

+ 12
- 3
README.md View File

@@ -327,7 +327,15 @@ docker build --platform linux/amd64 -f Dockerfile -t infiniflow/ragflow:nightly
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
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
```

6. Install frontend dependencies:

7. Install frontend dependencies:
```bash
cd web
npm install
```
7. Launch frontend service:
8. Launch frontend service:

```bash
npm run dev

Loading…
Cancel
Save