first commit

This commit is contained in:
远野千束 2024-02-29 01:27:10 +08:00
parent df70cd7040
commit 608aa93dd1
2 changed files with 22 additions and 4 deletions

View File

@ -19,12 +19,32 @@
## 手动安装和部署 ## 手动安装和部署
1.安装Git使用命令`git clone https://gitee.com/snowykami/liteyuki-bot` 克隆项目至本地 1.安装Git使用命令`git clone https://github.com/snowykami/LiteyukiBot` 克隆项目至本地
2.切换到轻雪目录,使用`pip install -r r.txt` 2.切换到轻雪目录,使用`pip install -r r.txt`
3.`python main.py`!启动! 3.`python main.py`!启动!
## 一键部署脚本
### Windows
```bash
chcp 65001
git clone https://github.com/snowykami/LiteyukiBot
cd LiteyukiBot
pip install -r requirements.txt
echo python main.py > start.bat
echo Install finished! Please run start.bat to start the bot!
```
### Linux
```bash
git clone https://github.com/snowykami/LiteyukiBot
cd LiteyukiBot
pip install -r requirements.txt
echo python main.py > start.sh
chmod +x start.sh
echo Install finished! Please run start.sh to start the bot!
```
## 注意事项 ## 注意事项
1.尽可能不要去动配置文件通过与bot交互进行配置即可若仍然想自定义配置请在`config.yml`中修改 1.尽可能不要去动配置文件通过与bot交互进行配置即可若仍然想自定义配置请在`config.yml`中修改

View File

@ -1,3 +1 @@
nonebot2[fastapi] nonebot2[fastapi]
watchdog==2.1.6