mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-16 17:45:56 +08:00
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:
parent
bfe97d896d
commit
4ac61fc470
15
README.md
15
README.md
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user