Replace poetry with uv (#4471)

### What problem does this PR solve?

Replace poetry with uv

### Type of change

- [x] Refactoring
This commit is contained in:
Zhichang Yu
2025-01-14 11:49:43 +08:00
committed by GitHub
parent fd0bf3adf0
commit d3c07794b5
17 changed files with 7047 additions and 11323 deletions

View File

@ -247,17 +247,16 @@ docker build -f Dockerfile -t infiniflow/ragflow:nightly .
## 🔨 소스 코드로 서비스를 시작합니다.
1. Poetry를 설치하거나 이미 설치된 경우 이 단계를 건너뜁니다:
1. uv를 설치하거나 이미 설치된 경우 이 단계를 건너뜁니다:
```bash
pipx install poetry
export POETRY_VIRTUALENVS_CREATE=true POETRY_VIRTUALENVS_IN_PROJECT=true
pipx install uv
```
2. 소스 코드를 클론하고 Python 의존성을 설치합니다:
```bash
git clone https://github.com/infiniflow/ragflow.git
cd ragflow/
~/.local/bin/poetry install --sync --no-root # install RAGFlow dependent python modules
uv sync --python 3.10 --all-extras # install RAGFlow dependent python modules
```
3. Docker Compose를 사용하여 의존 서비스(MinIO, Elasticsearch, Redis 및 MySQL)를 시작합니다: