import{_ as e,c as t,o as i,a9 as a}from"./chunks/framework.C4_mTacX.js";const m=JSON.parse('{"title":"Install","description":"","frontmatter":{"title":"Install","order":1},"headers":[],"relativePath":"en/deploy/install.md","filePath":"en/deploy/install.md","lastUpdated":1725102337000}'),s={name:"en/deploy/install.md"},o=a(`
Git
and Python3.10+
Environment.# Clone the project
git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1
# change directory
cd LiteyukiBot
# install dependencies
pip install -r requirements.txt
# start the bot!
python main.py
TIP
It is recommended to use a virtual environment to run Liteyuki to avoid dependency conflicts. You can use python -m venv .venv
to create a virtual environment, and then use .venv\\Scripts\\activate
to activate the virtual environment (use source .venv/bin/activate
to activate on Linux).
Docker
git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1
cd LiteyukiBot
docker build -t liteyukibot .
docker run -p 20216:20216 -v $(pwd):/liteyukibot -v $(pwd)/.cache:/root/.cache liteyukibot
TIP
If you are using Windows, please use the absolute project directory /path/to/LiteyukiBot
instead of $(pwd)
If you have modified the port number, please replace 20216:20216
with your port number
TRSS_Liteyuki Management Script, which provides a more convenient way to manage LiteyukiBot, recommended to use Arch Linux
Windows10+
/Windows Server 2019+
Ubuntu 20.04+
1vCPU
300~500MB
, including chromium
and node
processes, other plugins depend on specific plugins, recommended 1GB
or more1GB
of spaceWARNING
If there are multiple environments on the device, please use path/to/python -m pip install -r requirements.txt
to install dependencies, path/to/python
is the path to your Python executable
WARNING
Liteyuki's update function depends on Git. If you do not have Git installed and run the source code directly, you will not be able to use the update function