mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-11-01 13:25:18 +08:00
* doc: add service api refs (#67) * doc: add service api refs * fix: page title * docs: add Service API overview and images, mark as Beta * doc: update for plugin system on windows * docs: perf * doc: add pipeline plugin comments
1.4 KiB
1.4 KiB
手动部署
:::warning
- 请使用Python 3.10.1(不包含3.10.0)及以上版本,推荐3.10.14版本,没有Python的需自行安装。
- Unix-like 系统上请优先考虑使用 Docker 部署。 :::
安装主程序
- 前往Release页面下载最新版本的压缩包(推荐)
langbot-xxx-all.zip(请勿下载 Source Code,因为其中不包含 WebUI)。解压,在解压目录打开命令行(终端)
- 安装依赖
我们使用 uv 管理依赖。
pip install uv
uv sync
或者使用清华源
pip install uv -i https://pypi.tuna.tsinghua.edu.cn/simple
uv sync
- 运行一次主程序,生成配置文件
uv run main.py
提示如下信息
_ ___ _
| | __ _ _ _ __ _| _ ) ___| |_
| |__/ _` | ' \/ _` | _ \/ _ \ _|
|____\__,_|_||_\__, |___/\___/\__|
|___/
⭐️开源地址: https://github.com/langbot-app/LangBot
📖文档地址: https://docs.langbot.app
以下文件不存在,已自动生成,请按需修改配置文件后重启:
- data/config.yaml
...
接下来可以使用 Ctrl+C 退出程序,继续查看部署机器人页。
