Files
LangBot/en/deploy/langbot/manual.mdx
T

45 lines
1.4 KiB
Plaintext

---
title: "Manual Deployment"
description: "Manually deploy LangBot from source. Step-by-step setup for the open-source AI bot platform on Linux, Windows and macOS."
---
## Installing the Main Program
1. Go to the [Release](https://github.com/langbot-app/LangBot/releases) page to download the latest version of the zip package (recommended) `langbot-xxx-all.zip` (do not download Source Code as it does not include WebUI). Extract it and open a command line (terminal) in the extracted directory.
![Download Release](/images/zh/deploy/langbot/manual/dl_release.png)
2. Install dependencies
We use [uv](https://docs.astral.sh/uv/) to manage dependencies.
```bash
pip install uv
uv sync
```
3. Run the main program once to generate configuration files
```bash
uv run main.py
```
You will see the following message:
```
_ ___ _
| | __ _ _ _ __ _| _ ) ___| |_
| |__/ _` | ' \/ _` | _ \/ _ \ _|
|____\__,_|_||_\__, |___/\___/\__|
|___/
⭐️Open Source: https://github.com/langbot-app/LangBot
📖Documentation: https://docs.langbot.app
The following files do not exist and have been automatically generated. Please modify the configuration files as needed and restart:
- data/config.yaml
...
```
You can now use Ctrl+C to exit the program and continue to the [Configure Bots](/en/usage/platforms/readme) page.