mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-22 21:27:43 +08:00
📝 文档删除常规部署,强制使用虚拟环境
This commit is contained in:
parent
e2e53c21fa
commit
f548a07230
@ -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.
|
1. Install [`Git`](https://git-scm.com/download/) and [`Python3.10+`](https://www.python.org/downloads/release/python-31010/) Environment.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Clone the project
|
# Clone Repo
|
||||||
git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1
|
git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1
|
||||||
# change directory
|
|
||||||
|
# Change directory
|
||||||
cd LiteyukiBot
|
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
|
pip install -r requirements.txt
|
||||||
# start the bot!
|
|
||||||
|
# Run Liteyuki
|
||||||
python main.py
|
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)` <br>
|
> If you are using Windows, please use the absolute project directory `/path/to/LiteyukiBot` instead of `$(pwd)` <br>
|
||||||
> If you have modified the port number, please replace `20216:20216` with your port number
|
> 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**
|
## **Device Requirements**
|
||||||
- Windows system version minimum `Windows10+`/`Windows Server 2019+`
|
- Windows system version minimum `Windows10+`/`Windows Server 2019+`
|
||||||
|
@ -43,11 +43,6 @@ python main.py
|
|||||||
> Windows请使用项目绝对目录`/path/to/LiteyukiBot`代替`$(pwd)` <br>
|
> Windows请使用项目绝对目录`/path/to/LiteyukiBot`代替`$(pwd)` <br>
|
||||||
> 若你修改了端口号请将`20216:20216`中的`20216`替换为你的端口号
|
> 若你修改了端口号请将`20216:20216`中的`20216`替换为你的端口号
|
||||||
|
|
||||||
## **使用TRSS Scripts部署**
|
|
||||||
|
|
||||||
[TRSS_Liteyuki轻雪机器人管理脚本](https://timerainstarsky.github.io/TRSS_Liteyuki/)
|
|
||||||
,该功能由TRSS提供支持,不是LiteyukiBot官方提供的功能,推荐使用`Arch Linux`
|
|
||||||
|
|
||||||
## **装置要求**
|
## **装置要求**
|
||||||
|
|
||||||
- Windows系统版本最低`Windows10+`/`Windows Server 2019+`
|
- Windows系统版本最低`Windows10+`/`Windows Server 2019+`
|
||||||
|
Loading…
Reference in New Issue
Block a user