Introduced NEED_MIRROR (#3907)

### What problem does this PR solve?

Introduced NEED_MIRROR

### Type of change

- [x] Refactoring
This commit is contained in:
Zhichang Yu
2024-12-06 20:47:22 +08:00
committed by GitHub
parent f54a8d7748
commit b44321f9c3
8 changed files with 41 additions and 35 deletions

View File

@ -289,14 +289,14 @@ docker build -f Dockerfile -t infiniflow/ragflow:dev .
1. Install Poetry, or skip this step if it is already installed:
```bash
curl -sSL https://install.python-poetry.org | python3 -
pipx install poetry
export POETRY_VIRTUALENVS_CREATE=true POETRY_VIRTUALENVS_IN_PROJECT=true
```
2. Clone the source code and install Python dependencies:
```bash
git clone https://github.com/infiniflow/ragflow.git
cd ragflow/
export POETRY_VIRTUALENVS_CREATE=true POETRY_VIRTUALENVS_IN_PROJECT=true
~/.local/bin/poetry install --sync --no-root --with=full # install RAGFlow dependent python modules
```