Skip to content

Commit dde33c9

Browse files
committed
chore: update README
1 parent 70f6e04 commit dde33c9

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,22 @@ Connection: close
6464

6565
## 安装使用
6666

67+
**Docker 容器运行**
68+
69+
```bash
70+
# 下载镜像
71+
docker pull chaitin/blazehttp:latest
72+
# 开始测试 http://127.0.0.1:9444 是 WAF 的地址 (根据实际情况修改)
73+
docker run --rm --net=host chaitin/blazehttp:latest /app/blazehttp -t <http://127.0.0.1:9444>
74+
```
75+
6776
GitHub CI 预编译的产物已上传 Release,可以[直接下载](https://github.com/chaitin/blazehttp/releases)最新的版本使用。
6877

69-
**命令行**
78+
**命令行运行**
7079

7180
![blazehttp_cmd](https://github.com/chaitin/blazehttp/assets/30664688/7be052e9-2dfb-4f96-a6f2-eb2a0251910e)
7281

73-
**GUI** (MacOS & Windows)
82+
**GUI 运行** (MacOS & Windows)
7483

7584
> 如果 MacOS 双击打开报错**不受信任**或者**移到垃圾箱**,执行下面命令后再启动即可:
7685
> ``` bash

README_EN.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,15 @@ Connection: close
6464

6565
## Installation and Usage
6666

67+
** Docker Container**
68+
69+
```bash
70+
# pull latest image from DockerHub
71+
docker pull chaitin/blazehttp:latest
72+
# run test
73+
docker run --rm --net=host chaitin/blazehttp:latest /app/blazehttp -t <URL>
74+
```
75+
6776
Precompiled artifacts from GitHub CI have been uploaded to Releases for direct downloads of the latest version [here](https://github.com/chaitin/blazehttp/releases).
6877

6978
**Command Line**

0 commit comments

Comments
 (0)