diff --git a/README_ko.md b/README_ko.md index 8d7acb9b24..05e9f28bbd 100644 --- a/README_ko.md +++ b/README_ko.md @@ -199,9 +199,9 @@ > $ docker-compose up -d > ``` -## ๐Ÿช› Build the Docker image without embedding models +## ๐Ÿช› ์†Œ์Šค ์ฝ”๋“œ๋กœ Docker ์ด๋ฏธ์ง€๋ฅผ ์ปดํŒŒ์ผํ•ฉ๋‹ˆ๋‹ค(์ž„๋ฒ ๋”ฉ ๋ชจ๋ธ ํฌํ•จํ•˜์ง€ ์•Š์Œ) -This image is approximately 1 GB in size and relies on external LLM and embedding services. +์ด Docker ์ด๋ฏธ์ง€์˜ ํฌ๊ธฐ๋Š” ์•ฝ 1GB์ด๋ฉฐ, ์™ธ๋ถ€ ๋Œ€ํ˜• ๋ชจ๋ธ๊ณผ ์ž„๋ฒ ๋”ฉ ์„œ๋น„์Šค์— ์˜์กดํ•ฉ๋‹ˆ๋‹ค. ```bash git clone https://github.com/infiniflow/ragflow.git @@ -211,9 +211,9 @@ python3 download_deps.py docker build -f Dockerfile.slim -t infiniflow/ragflow:dev-slim . ``` -## ๐Ÿชš Build the Docker image including embedding models +## ๐Ÿชš ์†Œ์Šค ์ฝ”๋“œ๋กœ Docker ์ด๋ฏธ์ง€๋ฅผ ์ปดํŒŒ์ผํ•ฉ๋‹ˆ๋‹ค(์ž„๋ฒ ๋”ฉ ๋ชจ๋ธ ํฌํ•จ) -This image includes embedding models and is approximately 9 GB in size, and so relies on external LLM services only. +์ด Docker์˜ ํฌ๊ธฐ๋Š” ์•ฝ 9GB์ด๋ฉฐ, ์ด๋ฏธ ์ž„๋ฒ ๋”ฉ ๋ชจ๋ธ์„ ํฌํ•จํ•˜๊ณ  ์žˆ์œผ๋ฏ€๋กœ ์™ธ๋ถ€ ๋Œ€ํ˜• ๋ชจ๋ธ ์„œ๋น„์Šค์—๋งŒ ์˜์กดํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค. ```bash git clone https://github.com/infiniflow/ragflow.git @@ -223,14 +223,14 @@ python3 download_deps.py docker build -f Dockerfile -t infiniflow/ragflow:dev . ``` -## ๐Ÿ”จ Launch service from source for development +## ๐Ÿ”จ ์†Œ์Šค ์ฝ”๋“œ๋กœ ์„œ๋น„์Šค๋ฅผ ์‹œ์ž‘ํ•ฉ๋‹ˆ๋‹ค. -1. Install Poetry, or skip this step if it is already installed: +1. Poetry๋ฅผ ์„ค์น˜ํ•˜๊ฑฐ๋‚˜ ์ด๋ฏธ ์„ค์น˜๋œ ๊ฒฝ์šฐ ์ด ๋‹จ๊ณ„๋ฅผ ๊ฑด๋„ˆ๋œ๋‹ˆ๋‹ค: ```bash curl -sSL https://install.python-poetry.org | python3 - ``` -2. Clone the source code and install Python dependencies: +2. ์†Œ์Šค ์ฝ”๋“œ๋ฅผ ํด๋ก ํ•˜๊ณ  Python ์˜์กด์„ฑ์„ ์„ค์น˜ํ•ฉ๋‹ˆ๋‹ค: ```bash git clone https://github.com/infiniflow/ragflow.git cd ragflow/ @@ -238,42 +238,42 @@ docker build -f Dockerfile -t infiniflow/ragflow:dev . ~/.local/bin/poetry install --sync --no-root # install RAGFlow dependent python modules ``` -3. Launch the dependent services (MinIO, Elasticsearch, Redis, and MySQL) using Docker Compose: +3. Docker Compose๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์˜์กด ์„œ๋น„์Šค(MinIO, Elasticsearch, Redis ๋ฐ MySQL)๋ฅผ ์‹œ์ž‘ํ•ฉ๋‹ˆ๋‹ค: ```bash docker compose -f docker/docker-compose-base.yml up -d ``` - Add the following line to `/etc/hosts` to resolve all hosts specified in **docker/service_conf.yaml** to `127.0.0.1`: + `/etc/hosts` ์— ๋‹ค์Œ ์ค„์„ ์ถ”๊ฐ€ํ•˜์—ฌ **docker/service_conf.yaml** ์— ์ง€์ •๋œ ๋ชจ๋“  ํ˜ธ์ŠคํŠธ๋ฅผ `127.0.0.1` ๋กœ ํ•ด๊ฒฐํ•ฉ๋‹ˆ๋‹ค: ``` 127.0.0.1 es01 mysql minio redis ``` - In **docker/service_conf.yaml**, update mysql port to `5455` and es port to `1200`, as specified in **docker/.env**. + **docker/service_conf.yaml** ์—์„œ mysql ํฌํŠธ๋ฅผ `5455` ๋กœ, es ํฌํŠธ๋ฅผ `1200` ์œผ๋กœ ์—…๋ฐ์ดํŠธํ•ฉ๋‹ˆ๋‹ค( **docker/.env** ์— ์ง€์ •๋œ ๋Œ€๋กœ). -4. If you cannot access HuggingFace, set the `HF_ENDPOINT` environment variable to use a mirror site: +4. HuggingFace์— ์ ‘๊ทผํ•  ์ˆ˜ ์—†๋Š” ๊ฒฝ์šฐ, `HF_ENDPOINT` ํ™˜๊ฒฝ ๋ณ€์ˆ˜๋ฅผ ์„ค์ •ํ•˜์—ฌ ๋ฏธ๋Ÿฌ ์‚ฌ์ดํŠธ๋ฅผ ์‚ฌ์šฉํ•˜์„ธ์š”: ```bash export HF_ENDPOINT=https://hf-mirror.com ``` -5. Launch backend service: +5. ๋ฐฑ์—”๋“œ ์„œ๋น„์Šค๋ฅผ ์‹œ์ž‘ํ•ฉ๋‹ˆ๋‹ค: ```bash source .venv/bin/activate export PYTHONPATH=$(pwd) bash docker/launch_backend_service.sh ``` -6. Install frontend dependencies: +6. ํ”„๋ก ํŠธ์—”๋“œ ์˜์กด์„ฑ์„ ์„ค์น˜ํ•ฉ๋‹ˆ๋‹ค: ```bash cd web npm install --force ``` -7. Configure frontend to update `proxy.target` in **.umirc.ts** to `http://127.0.0.1:9380`: -8. Launch frontend service: +7. **.umirc.ts** ์—์„œ `proxy.target` ์„ `http://127.0.0.1:9380` ์œผ๋กœ ์—…๋ฐ์ดํŠธํ•ฉ๋‹ˆ๋‹ค: +8. ํ”„๋ก ํŠธ์—”๋“œ ์„œ๋น„์Šค๋ฅผ ์‹œ์ž‘ํ•ฉ๋‹ˆ๋‹ค: ```bash npm run dev ``` - _The following output confirms a successful launch of the system:_ + _๋‹ค์Œ ์ธํ„ฐํŽ˜์ด์Šค๋Š” ์‹œ์Šคํ…œ์ด ์„ฑ๊ณต์ ์œผ๋กœ ์‹œ์ž‘๋˜์—ˆ์Œ์„ ๋‚˜ํƒ€๋ƒ…๋‹ˆ๋‹ค:_ ![](https://github.com/user-attachments/assets/0daf462c-a24d-4496-a66f-92533534e187)