Explorar el Código

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 hace 5 meses
padre
commit
4ac61fc470
No account linked to committer's email address
Se han modificado 1 ficheros con 12 adiciones y 3 borrados
  1. 12
    3
      README.md

+ 12
- 3
README.md Ver fichero

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
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

Cargando…
Cancelar
Guardar