mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-30 04:15:45 +08:00
1.9 KiB
1.9 KiB
Manual Deployment
:::warning
- Please use Python 3.10.1 (not including 3.10.0) or higher version, 3.10.14 is recommended. You need to install Python if you don't have it.
- This method is not recommended, manual deployment may not be supported in the future. Please consider using Docker deployment. :::
Installing the Main Program
- Go to the Release 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.
:::info
You can also use the following commands to clone the latest code (may contain unstable code) and use it:
# Clone the main repository
git clone https://github.com/langbot-app/LangBot
cd LangBot
Then manually build the frontend:
# Build frontend, requires NodeJS >= 22
cd web
npm install && npm run build
cd ..
:::
- Install dependencies
We use uv to manage dependencies.
pip install uv
uv sync
- Run the main program once to generate configuration files
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:
- plugins/__init__.py
...
You can now use Ctrl+C to exit the program and continue to the Deploy Bots page.
