Update README.md with usage instructions
This commit is contained in:
parent
d9f0f0bf26
commit
d9e730d29d
21
README.md
21
README.md
@ -1,3 +1,24 @@
|
|||||||
# peerjail
|
# peerjail
|
||||||
|
|
||||||
一个用于qbittorrent的辅助工具,识别异常的peer并将其加入黑名单
|
一个用于qbittorrent的辅助工具,识别异常的peer并将其加入黑名单
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 开始使用
|
||||||
|
### 安装依赖
|
||||||
|
创建虚拟并激活环境(可选)
|
||||||
|
```bash
|
||||||
|
python -m venv venv
|
||||||
|
source venv/bin/activate
|
||||||
|
# ./venv/Scripts/activate.ps1
|
||||||
|
```
|
||||||
|
|
||||||
|
### 安装peerjail
|
||||||
|
```bash
|
||||||
|
pip install -e .
|
||||||
|
```
|
||||||
|
|
||||||
|
### 启动peerjail
|
||||||
|
```bash
|
||||||
|
peerjail --host 127.0.0.1 --port 8080 --username admin --password adminadmin
|
||||||
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user