Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SK-415 committed Nov 18, 2020
1 parent 5a560d5 commit 38b509e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
23 changes: 19 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@
- [部署指南](#部署指南 )
- [部署 go-cqhttp](#部署-go-cqhttp )
- [部署 HarukaBot](#部署-harukabot )
- [方法一 手动安装 (较为复杂全平台通用)](#方法一-手动安装-较为复杂全平台通用 )
- [方法二 插件广场安装 (适用于 `NoneBot2` 用户)](#方法二-插件广场安装-适用于-nonebot2-用户 )
- [方法一 脚手架部署 (推荐)](#方法一-脚手架部署-推荐 )
- [方法二 手动安装 (可获取实验性功能)](#方法二-手动安装-可获取实验性功能 )
- [方法三 插件广场安装 (适用于 `NoneBot2` 用户)](#方法三-插件广场安装-适用于-nonebot2-用户 )
- [支持作者](#支持作者 )

## 简介
Expand Down Expand Up @@ -159,7 +160,21 @@ HarukaBot 专注于订阅B站UP主们的动态与开播提醒, 并转发至QQ群
### 部署 HarukaBot


#### 方法一 手动安装 (较为复杂全平台通用)
#### 方法一 脚手架部署 (推荐)


1. 安装 [Python3.7+](https://www.python.org/downloads/release/python-386/ ) (推荐 `3.8.6` 安装的时候一定要[**勾选 "Add Python 3.x to PATH"**](https://www.liaoxuefeng.com/wiki/1016959663602400/1016959856222624 ) )

2. 打开一个文件夹 (建议新建), 对着空白处按住 Shift 单击鼠标右键, 选择 "在此处打开 Powershell 窗口"

3. 输入 `pip install haruka-bot[cli]` 安装脚手架

4. 输入 `hb run` 启动 bot

> 以后只需在**相同文件夹**内执行最后一步即可启动

#### 方法二 手动安装 (可获取实验性功能)


1. 安装 [Python3.7+](https://www.python.org/downloads/release/python-386/ ) (推荐 `3.8.6` 安装的时候一定要[**勾选 "Add Python 3.x to PATH"**](https://www.liaoxuefeng.com/wiki/1016959663602400/1016959856222624 ) )
Expand All @@ -174,7 +189,7 @@ HarukaBot 专注于订阅B站UP主们的动态与开播提醒, 并转发至QQ群

> 以后每次启动只需重复 3, 5 两步
#### 方法二 插件广场安装 (适用于 `NoneBot2` 用户)
#### 方法三 插件广场安装 (适用于 `NoneBot2` 用户)


- 使用[插件广场](https://v2.nonebot.dev/plugin-store.html )或者 `pip install haruka-bot`, 安装 `HarukaBot`
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "haruka-bot"
version = "1.0.5"
version = "1.0.6"
description = "Push dynamics and live informations from bilibili to QQ. Based on nonebot2."
authors = ["SK-415 <2967923486@qq.com>"]
license = "GPL-3.0-or-later"
Expand All @@ -19,6 +19,7 @@ qrcode = {extras = ["pil"], version = "^6.1"}
nonebot2 = {extras = ["scheduler"], version = "^2.0.0-alpha.4"}
psutil = "^5.7.3"
pyppeteer = "^0.2.2"
hb-cli = {version = "^0.1.0", optional = true}

[tool.poetry.dev-dependencies]
nonebot2 = {extras = ["cli", "test"], version = "^2.0.0-alpha.4"}
Expand Down

0 comments on commit 38b509e

Please sign in to comment.