mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-30 20:35:22 +08:00
chore: remove requirements.txt
This commit is contained in:
@@ -8,16 +8,17 @@ LangBot 分为前端和后端,前端使用 Next.js + shadcn 开发,后端通
|
||||
|
||||
代码位于 `pkg` 目录下,由根目录的 `main.py` 文件引导启动。
|
||||
|
||||
安装依赖
|
||||
安装依赖,我们使用 uv 管理依赖。
|
||||
|
||||
```bash
|
||||
pip install -r requirements.txt
|
||||
pip install uv
|
||||
uv sync
|
||||
```
|
||||
|
||||
启动后端
|
||||
|
||||
```bash
|
||||
python main.py
|
||||
uv run main.py
|
||||
```
|
||||
|
||||
此时配置文件会自动生成到 `data/config.yaml` 文件中。
|
||||
|
||||
Reference in New Issue
Block a user