Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
freedomkk-qfeng committed Jul 15, 2023
1 parent 369d12a commit 8975981
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ Open-OAuth2Playground 是一个仿 Google [OAuth 2.0 Playground](https://develop
```
mkdir Open-OAuth2Playground
cd Open-OAuth2Playground/
wget https://github.com/ECNU/Open-OAuth2Playground/releases/download/v0.1.1/Open-OAuth2Playground-linux-0.1.1.tar.gz
wget https://github.com/ECNU/Open-OAuth2Playground/releases/download/v0.2.0/Open-OAuth2Playground-linux-0.2.0.tar.gz
tar -zxvf Open-OAuth2Playground-0.1.1-linux-amd64.tar.gz
./control start
```
访问你服务器的 80 端口即可使用。

#### Windows
如果只需要在 Windows 上运行测试,可以直接下载 [release] 中的 `Open-OAuth2Playground-windows-0.1.1.zip`,解压后运行 `Open-OAuth2Playground.exe` 即可。
如果只需要在 Windows 上运行测试,可以直接下载 [release] 中的 `Open-OAuth2Playground-windows-0.2.0.zip`,解压后运行 `Open-OAuth2Playground.exe` 即可。

### systemctl 托管
假定部署在 `/opt/Open-OAuth2Playground` 目录下,如果部署在其他目录修改 `playground.service` 中的 `WorkingDirectory``ExecStart` 两个字段即可。
Expand Down
4 changes: 2 additions & 2 deletions README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ Download the latest [release] package from [release](https://github.com/ECNU/Ope
```
mkdir Open-OAuth2Playground
cd Open-OAuth2Playground/
wget https://github.com/ECNU/Open-OAuth2Playground/releases/download/v0.1.1/Open-OAuth2Playground-linux-0.1.1.tar.gz
wget https://github.com/ECNU/Open-OAuth2Playground/releases/download/v0.2.0/Open-OAuth2Playground-linux-0.2.0.tar.gz
tar -zxvf Open-OAuth2Playground-0.1.1-linux-amd64.tar.gz
./control start
```
Visit port 80 of your server to use it.

#### Windows
If you only need to run tests on Windows, you can download `Open-OAuth2Playground-windows-0.1.1.zip` from [release], unzip it and run `Open-OAuth2Playground.exe`.
If you only need to run tests on Windows, you can download `Open-OAuth2Playground-windows-0.2.0.zip` from [release], unzip it and run `Open-OAuth2Playground.exe`.

### Systemctl Hosting
Assuming deployment in the `/opt/Open-OAuth2Playground` directory, if deployed in other directories, modify the `WorkingDirectory` and `ExecStart` fields in `playground.service`.
Expand Down

0 comments on commit 8975981

Please sign in to comment.