### What problem does this PR solve? Update 7 readme ### Type of change - [ ] 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):tags/v0.19.0
| export HF_ENDPOINT=https://hf-mirror.com | export HF_ENDPOINT=https://hf-mirror.com | ||||
| ``` | ``` | ||||
| 5. If your operating system does not have jemalloc, please install it as follows, | |||||
| 5. If your operating system does not have jemalloc, please install it as follows: | |||||
| ```bash | ```bash | ||||
| # ubuntu | # ubuntu | ||||
| sudo apt-get install libjemalloc-dev | sudo apt-get install libjemalloc-dev | ||||
| bash docker/launch_backend_service.sh | bash docker/launch_backend_service.sh | ||||
| ``` | ``` | ||||
| 7. Install frontend dependencies: | 7. Install frontend dependencies: | ||||
| ```bash | ```bash | ||||
| cd web | cd web | ||||
| npm install | npm install | ||||
| ``` | ``` | ||||
| 8. Launch frontend service: | 8. Launch frontend service: | ||||
| ```bash | ```bash | ||||
|  |  | ||||
| 9. Stop RAGFlow front-end and back-end service after development is complete: | |||||
| ```bash | |||||
| pkill -f "ragflow_server.py|task_executor.py" | |||||
| ``` | |||||
| ## 📚 Documentation | ## 📚 Documentation | ||||
| - [Quickstart](https://ragflow.io/docs/dev/) | - [Quickstart](https://ragflow.io/docs/dev/) |
| export HF_ENDPOINT=https://hf-mirror.com | export HF_ENDPOINT=https://hf-mirror.com | ||||
| ``` | ``` | ||||
| 5. Jalankan aplikasi backend: | |||||
| 5. Jika sistem operasi Anda tidak memiliki jemalloc, instal sebagai berikut: | |||||
| ```bash | |||||
| # ubuntu | |||||
| sudo apt-get install libjemalloc-dev | |||||
| # centos | |||||
| sudo yum install jemalloc | |||||
| ``` | |||||
| 6. Jalankan aplikasi backend: | |||||
| ```bash | ```bash | ||||
| source .venv/bin/activate | source .venv/bin/activate | ||||
| bash docker/launch_backend_service.sh | bash docker/launch_backend_service.sh | ||||
| ``` | ``` | ||||
| 6. Instal dependensi frontend: | |||||
| 7. Instal dependensi frontend: | |||||
| ```bash | ```bash | ||||
| cd web | cd web | ||||
| npm install | npm install | ||||
| ``` | ``` | ||||
| 7. Jalankan aplikasi frontend: | |||||
| 8. Jalankan aplikasi frontend: | |||||
| ```bash | ```bash | ||||
| npm run dev | npm run dev | ||||
|  |  | ||||
| 9. Hentikan layanan front-end dan back-end RAGFlow setelah pengembangan selesai: | |||||
| ```bash | |||||
| pkill -f "ragflow_server.py|task_executor.py" | |||||
| ``` | |||||
| ## 📚 Dokumentasi | ## 📚 Dokumentasi | ||||
| - [Quickstart](https://ragflow.io/docs/dev/) | - [Quickstart](https://ragflow.io/docs/dev/) |
| export HF_ENDPOINT=https://hf-mirror.com | export HF_ENDPOINT=https://hf-mirror.com | ||||
| ``` | ``` | ||||
| 5. バックエンドサービスを起動する: | |||||
| 5. オペレーティングシステムにjemallocがない場合は、次のようにインストールします: | |||||
| ```bash | |||||
| # ubuntu | |||||
| sudo apt-get install libjemalloc-dev | |||||
| # centos | |||||
| sudo yum install jemalloc | |||||
| ``` | |||||
| 6. バックエンドサービスを起動する: | |||||
| ```bash | ```bash | ||||
| source .venv/bin/activate | source .venv/bin/activate | ||||
| bash docker/launch_backend_service.sh | bash docker/launch_backend_service.sh | ||||
| ``` | ``` | ||||
| 6. フロントエンドの依存関係をインストールする: | |||||
| 7. フロントエンドの依存関係をインストールする: | |||||
| ```bash | ```bash | ||||
| cd web | cd web | ||||
| npm install | npm install | ||||
| ``` | ``` | ||||
| 7. フロントエンドサービスを起動する: | |||||
| 8. フロントエンドサービスを起動する: | |||||
| ```bash | ```bash | ||||
| npm run dev | npm run dev | ||||
|  |  | ||||
| 9. 開発が完了したら、RAGFlow のフロントエンド サービスとバックエンド サービスを停止します: | |||||
| ```bash | |||||
| pkill -f "ragflow_server.py|task_executor.py" | |||||
| ``` | |||||
| ## 📚 ドキュメンテーション | ## 📚 ドキュメンテーション | ||||
| - [Quickstart](https://ragflow.io/docs/dev/) | - [Quickstart](https://ragflow.io/docs/dev/) |
| export HF_ENDPOINT=https://hf-mirror.com | export HF_ENDPOINT=https://hf-mirror.com | ||||
| ``` | ``` | ||||
| 5. 백엔드 서비스를 시작합니다: | |||||
| 5. 만약 운영 체제에 jemalloc이 없으면 다음 방식으로 설치하세요: | |||||
| ```bash | |||||
| # ubuntu | |||||
| sudo apt-get install libjemalloc-dev | |||||
| # centos | |||||
| sudo yum install jemalloc | |||||
| ``` | |||||
| 6. 백엔드 서비스를 시작합니다: | |||||
| ```bash | ```bash | ||||
| source .venv/bin/activate | source .venv/bin/activate | ||||
| bash docker/launch_backend_service.sh | bash docker/launch_backend_service.sh | ||||
| ``` | ``` | ||||
| 6. 프론트엔드 의존성을 설치합니다: | |||||
| 7. 프론트엔드 의존성을 설치합니다: | |||||
| ```bash | ```bash | ||||
| cd web | cd web | ||||
| npm install | npm install | ||||
| ``` | ``` | ||||
| 7. 프론트엔드 서비스를 시작합니다: | |||||
| 8. 프론트엔드 서비스를 시작합니다: | |||||
| ```bash | ```bash | ||||
| npm run dev | npm run dev | ||||
|  |  | ||||
| 9. 개발이 완료된 후 RAGFlow 프론트엔드 및 백엔드 서비스를 중지합니다. | |||||
| ```bash | |||||
| pkill -f "ragflow_server.py|task_executor.py" | |||||
| ``` | |||||
| ## 📚 문서 | ## 📚 문서 | ||||
| - [Quickstart](https://ragflow.io/docs/dev/) | - [Quickstart](https://ragflow.io/docs/dev/) |
| export HF_ENDPOINT=https://hf-mirror.com | export HF_ENDPOINT=https://hf-mirror.com | ||||
| ``` | ``` | ||||
| 5. Lance o serviço de back-end: | |||||
| 5. Se o seu sistema operacional não tiver jemalloc, instale-o da seguinte maneira: | |||||
| ```bash | |||||
| # ubuntu | |||||
| sudo apt-get install libjemalloc-dev | |||||
| # centos | |||||
| sudo yum instalar jemalloc | |||||
| ``` | |||||
| 6. Lance o serviço de back-end: | |||||
| ```bash | ```bash | ||||
| source .venv/bin/activate | source .venv/bin/activate | ||||
| bash docker/launch_backend_service.sh | bash docker/launch_backend_service.sh | ||||
| ``` | ``` | ||||
| 6. Instale as dependências do front-end: | |||||
| 7. Instale as dependências do front-end: | |||||
| ```bash | ```bash | ||||
| cd web | cd web | ||||
| npm install | npm install | ||||
| ``` | ``` | ||||
| 7. Lance o serviço de front-end: | |||||
| 8. Lance o serviço de front-end: | |||||
| ```bash | ```bash | ||||
| npm run dev | npm run dev | ||||
|  |  | ||||
| 9. Pare os serviços de front-end e back-end do RAGFlow após a conclusão do desenvolvimento: | |||||
| ```bash | |||||
| pkill -f "ragflow_server.py|task_executor.py" | |||||
| ``` | |||||
| ## 📚 Documentação | ## 📚 Documentação | ||||
| - [Quickstart](https://ragflow.io/docs/dev/) | - [Quickstart](https://ragflow.io/docs/dev/) |
| export HF_ENDPOINT=https://hf-mirror.com | export HF_ENDPOINT=https://hf-mirror.com | ||||
| ``` | ``` | ||||
| 5.啟動後端服務: | |||||
| 『`bash | |||||
| source .venv/bin/activate | |||||
| export PYTHONPATH=$(pwd) | |||||
| bash docker/launch_backend_service.sh | |||||
| 5. 如果你的操作系统没有 jemalloc,请按照如下方式安装: | |||||
| ``` | |||||
| ```bash | |||||
| # ubuntu | |||||
| sudo apt-get install libjemalloc-dev | |||||
| # centos | |||||
| sudo yum install jemalloc | |||||
| ``` | |||||
| 6. 安裝前端依賴: | |||||
| 『`bash | |||||
| cd web | |||||
| npm install | |||||
| ``` | |||||
| 6. 啟動後端服務: | |||||
| 7. 啟動前端服務: | |||||
| 『`bash | |||||
| npm run dev | |||||
| ```bash | |||||
| source .venv/bin/activate | |||||
| export PYTHONPATH=$(pwd) | |||||
| bash docker/launch_backend_service.sh | |||||
| ``` | |||||
| 7. 安裝前端依賴: | |||||
| ```bash | |||||
| cd web | |||||
| npm install | |||||
| ``` | |||||
| 8. 啟動前端服務: | |||||
| ```bash | |||||
| npm run dev | |||||
| ``` | ``` | ||||
| 以下界面說明系統已成功啟動:_ | 以下界面說明系統已成功啟動:_ | ||||
|  |  | ||||
| ``` | ``` | ||||
| 9. 開發完成後停止 RAGFlow 前端和後端服務: | |||||
| ```bash | |||||
| pkill -f "ragflow_server.py|task_executor.py" | |||||
| ``` | |||||
| ## 📚 技術文檔 | ## 📚 技術文檔 | ||||
| - [Quickstart](https://ragflow.io/docs/dev/) | - [Quickstart](https://ragflow.io/docs/dev/) |
| export HF_ENDPOINT=https://hf-mirror.com | export HF_ENDPOINT=https://hf-mirror.com | ||||
| ``` | ``` | ||||
| 5. 启动后端服务: | |||||
| 5. 如果你的操作系统没有 jemalloc,请按照如下方式安装: | |||||
| ```bash | |||||
| # ubuntu | |||||
| sudo apt-get install libjemalloc-dev | |||||
| # centos | |||||
| sudo yum install jemalloc | |||||
| ``` | |||||
| 6. 启动后端服务: | |||||
| ```bash | ```bash | ||||
| source .venv/bin/activate | source .venv/bin/activate | ||||
| bash docker/launch_backend_service.sh | bash docker/launch_backend_service.sh | ||||
| ``` | ``` | ||||
| 6. 安装前端依赖: | |||||
| 7. 安装前端依赖: | |||||
| ```bash | ```bash | ||||
| cd web | cd web | ||||
| npm install | npm install | ||||
| ``` | ``` | ||||
| 7. 启动前端服务: | |||||
| 8. 启动前端服务: | |||||
| ```bash | ```bash | ||||
| npm run dev | npm run dev | ||||
| _以下界面说明系统已经成功启动:_ | _以下界面说明系统已经成功启动:_ | ||||
|  |  | ||||
| 8. 开发完成后停止 RAGFlow 服务 | |||||
| 停止 RAGFlow 前端和后端服务: | |||||
| 9. 开发完成后停止 RAGFlow 前端和后端服务: | |||||
| ```bash | ```bash | ||||
| pkill -f "ragflow_server.py|task_executor.py" | pkill -f "ragflow_server.py|task_executor.py" | ||||
| ``` | ``` | ||||
| ## 📚 技术文档 | ## 📚 技术文档 | ||||
| - [Quickstart](https://ragflow.io/docs/dev/) | - [Quickstart](https://ragflow.io/docs/dev/) |