From f548a07230d809eeff1fb551ba65f0e118b365f5 Mon Sep 17 00:00:00 2001 From: snowykami Date: Mon, 14 Oct 2024 20:51:37 +0800 Subject: [PATCH] =?UTF-8?q?:memo:=20=E6=96=87=E6=A1=A3=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E5=B8=B8=E8=A7=84=E9=83=A8=E7=BD=B2=EF=BC=8C=E5=BC=BA=E5=88=B6?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E8=99=9A=E6=8B=9F=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/en/deploy/install.md | 21 ++++++++++++++------- docs/zh/deploy/install.md | 5 ----- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/docs/en/deploy/install.md b/docs/en/deploy/install.md index 2c4098da..6b8a5681 100644 --- a/docs/en/deploy/install.md +++ b/docs/en/deploy/install.md @@ -9,13 +9,23 @@ order: 1 1. Install [`Git`](https://git-scm.com/download/) and [`Python3.10+`](https://www.python.org/downloads/release/python-31010/) Environment. ```bash -# Clone the project +# Clone Repo git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1 -# change directory + +# Change directory cd LiteyukiBot -# install dependencies + +# Create virtual environment +python -m venv venv + +# Activate virtual environment +.\venv\Scripts\activate # Windows +source venv/bin/activate # Linux + +# Install dependencies pip install -r requirements.txt -# start the bot! + +# Run Liteyuki python main.py ``` @@ -37,9 +47,6 @@ python main.py > 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 -## **Use TRSS Script** - [TRSS_Liteyuki Management Script](https://timerainstarsky.github.io/TRSS_Liteyuki/), which provides a more convenient way to manage LiteyukiBot, recommended to use `Arch Linux` - ## **Device Requirements** - Windows system version minimum `Windows10+`/`Windows Server 2019+` diff --git a/docs/zh/deploy/install.md b/docs/zh/deploy/install.md index 4fb321b2..6a574df8 100644 --- a/docs/zh/deploy/install.md +++ b/docs/zh/deploy/install.md @@ -43,11 +43,6 @@ python main.py > Windows请使用项目绝对目录`/path/to/LiteyukiBot`代替`$(pwd)`
> 若你修改了端口号请将`20216:20216`中的`20216`替换为你的端口号 -## **使用TRSS Scripts部署** - -[TRSS_Liteyuki轻雪机器人管理脚本](https://timerainstarsky.github.io/TRSS_Liteyuki/) -,该功能由TRSS提供支持,不是LiteyukiBot官方提供的功能,推荐使用`Arch Linux` - ## **装置要求** - Windows系统版本最低`Windows10+`/`Windows Server 2019+`