mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-30 04:15:45 +08:00
* 重构文档结构:移除 docs 目录,调整文件组织结构 * Reorder "插件 SDK API" section in docs.json * Refactor and clarify various documentation sections * Refine warnings and info boxes across multiple docs * Refactor and simplify Japanese documentation content * Update package.json to include mintlify as a dependency and add pnpm-lock.yaml for dependency management * Update blog link and add description in docs.json --------- Co-authored-by: Junyan Chin <[email protected]>
38 lines
899 B
Plaintext
38 lines
899 B
Plaintext
---
|
|
title: "更新 LangBot"
|
|
---
|
|
|
|
## 使用包管理器部署
|
|
|
|
请在之前使用包管理器部署的目录下重新执行:
|
|
|
|
```bash
|
|
uvx langbot@latest
|
|
```
|
|
|
|
这将重新下载并启动最新版本的 LangBot。
|
|
|
|
## 使用 Docker(或基于 Docker 的一键部署)
|
|
|
|
请在之前 Clone 的 LangBot 目录下执行:
|
|
|
|
```bash
|
|
git pull
|
|
```
|
|
|
|
并在 `docker/` 目录下执行:
|
|
|
|
```bash
|
|
docker compose up --force-recreate --pull always -d
|
|
```
|
|
|
|
此命令将拉取最新的 LangBot 镜像并重建容器。
|
|
|
|
<Info>
|
|
4.3.0 版本更改了 `docker/docker-compose.yaml` 文件的内容和位置,若您由之前版本更新而来,请[根据文档重新部署](/zh/deploy/langbot/docker)。
|
|
</Info>
|
|
|
|
## 手动部署
|
|
|
|
从 [Releases](https://github.com/langbot-app/LangBot/releases) 页面下载最新发行版的 Assets 下的 `langbot-<version>-all.zip`,解压到原来部署到目录重启即可。
|