-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from CreeperAWA/master
完善中文文档,使其更加正式和清晰
- Loading branch information
Showing
32 changed files
with
515 additions
and
421 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
# 连接 BTN | ||
|
||
要参与 BTN 计划,只需要将 BTN 客户端连接到 BTN 服务器就好了。本文使用 PeerBanHelper 作为 BTN 客户端,Sparkle 作为 BTN 服务端进行演示。 | ||
若要参与 BTN 计划,您只需将 BTN 客户端与 BTN 服务器进行连接即可。本文将以 PeerBanHelper(简称 PBH)作为 BTN 客户端,Sparkle 作为 BTN 服务端为例进行演示。 | ||
|
||
## Sparkle | ||
|
||
Sparkle 是 PBH-BTN 的官方 BTN 服务器。 | ||
Sparkle 是 PBH-BTN 组织的官方 BTN 服务器。 | ||
|
||
### 注册账号,创建 UserApp | ||
### 注册账号并创建 UserApp | ||
|
||
浏览器打开 [https://btn-prod.ghostchu-services.top](https://btn-prod.ghostchu-services.top) 并使用 GitHub 授权登录,就会自动创建一个账号。 | ||
请在浏览器中打开 [https://btn-prod.ghostchu-services.top](https://btn-prod.ghostchu-services.top) 并使用 GitHub 授权登录,系统将自动为您创建一个账号。 | ||
|
||
点击顶部菜单的 “用户应用程序” 链接来到管理页面。 | ||
接着,点击页面顶部的“用户应用程序”链接,进入管理页面。 | ||
|
||
![homepage](./assets/btn-homepage.png) | ||
|
||
点击 “创建新用户应用程序”,输入一个备注,然后点击按钮创建。 | ||
点击“创建新用户应用程序”,输入一个备注信息后,点击按钮完成创建。 | ||
|
||
![management](./assets/userapp-management.png) | ||
|
||
现在记下页面上显示的 `AppID` 和 `AppSecret`,因为一旦关闭这个页面,`AppSecret` 就不会再显示了。 | ||
请务必记录页面上显示的 `AppID` 和 `AppSecret`,因为一旦关闭该页面,`AppSecret` 将不再显示。 | ||
|
||
![created](./assets/userapp-created.png) | ||
|
||
## 在 PBH 上加入 BTN 网络 | ||
## 在 PeerBanHelper 上加入 BTN 网络 | ||
|
||
转到 设置 -> 基础设置 选项。 | ||
请前往设置 -> 基础设置 选项。 | ||
|
||
![btn1](./assets/btn1.jpg) | ||
|
||
向下滑动找到 BTN 设置,打开 “启用 BTN 模块”,并填写刚刚在上面获取的 AppID 和 App Secret: | ||
向下滑动至 BTN 设置部分,勾选“启用 BTN 模块”,并填入之前获取的 AppID 和 App Secret: | ||
|
||
![btn2](./assets/btn2.jpg) | ||
|
||
滚动到底部,点击“保存”按钮,然后重启 PeerBanHelper 使其生效。 | ||
滚动至页面底部,点击“保存”按钮,并重启 PeerBanHelper 以使设置生效。 | ||
|
||
![btn3](./assets/btn3.jpg) | ||
![btn3](./assets/btn3.jpg) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.