mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-29 20:05:25 +08:00
docs: add uvx deployment
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# 使用包管理器部署
|
||||
|
||||
:::info
|
||||
支持 Windows、Linux、Mac OS 等系统,推荐在测试环境、个人用途场景使用;生产级环境请使用[Docker部署](/zh/deploy/langbot/docker.html)。
|
||||
:::
|
||||
|
||||
LangBot 已打包发布至 PyPI。请安装[uv](https://docs.astral.sh/uv/getting-started/installation/),然后在空目录下运行以下命令:
|
||||
|
||||
```bash
|
||||
uvx langbot@latest
|
||||
```
|
||||
|
||||
这将把该目录作为工作目录,访问 http://localhost:5300 即可开始使用。
|
||||
@@ -1,5 +1,15 @@
|
||||
# 更新 LangBot
|
||||
|
||||
## 使用包管理器部署
|
||||
|
||||
请在之前使用包管理器部署的目录下重新执行:
|
||||
|
||||
```bash
|
||||
uvx langbot@latest
|
||||
```
|
||||
|
||||
这将重新下载并启动最新版本的 LangBot。
|
||||
|
||||
## 使用 Docker(或基于 Docker 的一键部署)
|
||||
|
||||
请在之前 Clone 的 LangBot 目录下执行:
|
||||
|
||||
Reference in New Issue
Block a user