Update README.md

This commit is contained in:
yangdx 2025-07-07 16:44:30 +08:00
parent 752df9d674
commit 13b2c93eec
2 changed files with 26 additions and 18 deletions

View File

@ -90,6 +90,8 @@ LightRAG服务器旨在提供Web UI和API支持。Web UI便于文档索引、知
```bash ```bash
pip install "lightrag-hku[api]" pip install "lightrag-hku[api]"
cp env.example .env
lightrag-server
``` ```
* 从源代码安装 * 从源代码安装
@ -100,6 +102,8 @@ cd LightRAG
# 如有必要创建Python虚拟环境 # 如有必要创建Python虚拟环境
# 以可编辑模式安装并支持API # 以可编辑模式安装并支持API
pip install -e ".[api]" pip install -e ".[api]"
cp env.example .env
lightrag-server
``` ```
* 使用 Docker Compose 启动 LightRAG 服务器 * 使用 Docker Compose 启动 LightRAG 服务器

View File

@ -89,6 +89,8 @@ The LightRAG Server is designed to provide Web UI and API support. The Web UI fa
```bash ```bash
pip install "lightrag-hku[api]" pip install "lightrag-hku[api]"
cp env.example .env
lightrag-server
``` ```
* Installation from Source * Installation from Source
@ -99,6 +101,8 @@ cd LightRAG
# create a Python virtual enviroment if neccesary # create a Python virtual enviroment if neccesary
# Install in editable mode with API support # Install in editable mode with API support
pip install -e ".[api]" pip install -e ".[api]"
cp env.example .env
lightrag-server
``` ```
* Launching the LightRAG Server with Docker Compose * Launching the LightRAG Server with Docker Compose