Skip to content

Commit

Permalink
修改 README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Mufanc committed Nov 23, 2021
1 parent 1268241 commit 056eaf0
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,35 @@
### 使用方法

#### 下载源代码

  在合适的位置打开终端,然后执行:

```shell
git clone https://github.com/Mufanc/iSmartAuto2.git
cd iSmartAuto2
```

  如果你是直接下载的源码压缩包,那么直接在解压后的文件夹内打开终端

#### 安装依赖

  在刚刚打开的终端中执行:

```shell
pip install -r requirements.txt
```

  感谢 [@cyp0633](https://github.com/cyp0633)[提醒](https://github.com/Mufanc/iSmartAuto2/pull/8),现已将 `requirements.txt` 中的 websockets 版本降级为 8.1

#### 配置 iSmart 客户端

  修改 iSmart 的启动快捷方式,增加参数 `--remote-debugging-port=9222`(如下图),**然后启动 iSmart 客户端并保持登录**

![](images/edit-lnk.png)

#### 配置运行参数

  修改 `configs.yml` 中的账号和密码,保证与 iSmart 客户端中登录的账号一致,然后根据需要调整下方参数。在终端中执行 `py main.py -h` 可以查看更多帮助信息,这里列举几个常用命令

* 列出所有课程和书籍的详细信息
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ opencv-python~=4.5.3.56
numpy~=1.21.2
httpx~=0.19.0
beautifulsoup4~=4.10.0
websockets~=8.1
websockets==8.1
PyYAML~=5.4.1

0 comments on commit 056eaf0

Please sign in to comment.