Selaa lähdekoodia

fix(deps): incorrect nltk download dir (#7447)

### What problem does this PR solve?

Fix https://github.com/infiniflow/ragflow/issues/7224 and
https://github.com/infiniflow/ragflow/issues/6793

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
- [ ] New Feature (non-breaking change which adds functionality)a
- [x] Documentation Update
- [ ] Refactoring
- [ ] Performance Improvement
- [ ] Other (please describe):
tags/v0.19.0
小林在忙毕业设计 6 kuukautta sitten
vanhempi
commit
45dfaf230c
No account linked to committer's email address
8 muutettua tiedostoa jossa 10 lisäystä ja 0 poistoa
  1. 1
    0
      README.md
  2. 1
    0
      README_id.md
  3. 1
    0
      README_ja.md
  4. 1
    0
      README_ko.md
  5. 1
    0
      README_pt_br.md
  6. 1
    0
      README_tzh.md
  7. 1
    0
      README_zh.md
  8. 3
    0
      docker/launch_backend_service.sh

+ 1
- 0
README.md Näytä tiedosto

git clone https://github.com/infiniflow/ragflow.git git clone https://github.com/infiniflow/ragflow.git
cd ragflow/ cd ragflow/
uv sync --python 3.10 --all-extras # install RAGFlow dependent python modules uv sync --python 3.10 --all-extras # install RAGFlow dependent python modules
uv run download_deps.py
pre-commit install pre-commit install
``` ```



+ 1
- 0
README_id.md Näytä tiedosto

git clone https://github.com/infiniflow/ragflow.git git clone https://github.com/infiniflow/ragflow.git
cd ragflow/ cd ragflow/
uv sync --python 3.10 --all-extras # install RAGFlow dependent python modules uv sync --python 3.10 --all-extras # install RAGFlow dependent python modules
uv run download_deps.py
pre-commit install pre-commit install
``` ```



+ 1
- 0
README_ja.md Näytä tiedosto

git clone https://github.com/infiniflow/ragflow.git git clone https://github.com/infiniflow/ragflow.git
cd ragflow/ cd ragflow/
uv sync --python 3.10 --all-extras # install RAGFlow dependent python modules uv sync --python 3.10 --all-extras # install RAGFlow dependent python modules
uv run download_deps.py
pre-commit install pre-commit install
``` ```



+ 1
- 0
README_ko.md Näytä tiedosto

git clone https://github.com/infiniflow/ragflow.git git clone https://github.com/infiniflow/ragflow.git
cd ragflow/ cd ragflow/
uv sync --python 3.10 --all-extras # install RAGFlow dependent python modules uv sync --python 3.10 --all-extras # install RAGFlow dependent python modules
uv run download_deps.py
pre-commit install pre-commit install
``` ```



+ 1
- 0
README_pt_br.md Näytä tiedosto

git clone https://github.com/infiniflow/ragflow.git git clone https://github.com/infiniflow/ragflow.git
cd ragflow/ cd ragflow/
uv sync --python 3.10 --all-extras # instala os módulos Python dependentes do RAGFlow uv sync --python 3.10 --all-extras # instala os módulos Python dependentes do RAGFlow
uv run download_deps.py
pre-commit install pre-commit install
``` ```



+ 1
- 0
README_tzh.md Näytä tiedosto

git clone https://github.com/infiniflow/ragflow.git git clone https://github.com/infiniflow/ragflow.git
cd ragflow/ cd ragflow/
uv sync --python 3.10 --all-extras # install RAGFlow dependent python modules uv sync --python 3.10 --all-extras # install RAGFlow dependent python modules
uv run download_deps.py
pre-commit install pre-commit install
``` ```



+ 1
- 0
README_zh.md Näytä tiedosto

git clone https://github.com/infiniflow/ragflow.git git clone https://github.com/infiniflow/ragflow.git
cd ragflow/ cd ragflow/
uv sync --python 3.10 --all-extras # install RAGFlow dependent python modules uv sync --python 3.10 --all-extras # install RAGFlow dependent python modules
uv run download_deps.py
pre-commit install pre-commit install
``` ```



+ 3
- 0
docker/launch_backend_service.sh Näytä tiedosto

# Array to keep track of child PIDs # Array to keep track of child PIDs
PIDS=() PIDS=()


# Set the path to the NLTK data directory
export NLTK_DATA="./nltk_data"

# Function to handle termination signals # Function to handle termination signals
cleanup() { cleanup() {
echo "Termination signal received. Shutting down..." echo "Termination signal received. Shutting down..."

Loading…
Peruuta
Tallenna