[ci skip] move docker section to bottom.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-04-13 11:50:51 +08:00
parent 3a8c8d1c9d
commit 6ffeabb600
1 changed files with 18 additions and 17 deletions

View File

@ -104,23 +104,6 @@ Test status of api server using [httpie](https://github.com/jkbrzt/httpie) tool:
$ http -v --verify=no --json GET https://localhost:8088/api/status
```
![statue screenshot](screenshot/status.png)
## Run gopush in Docker
Set up `gopush` in the cloud in under 5 minutes with zero knowledge of Golang or Linux shell using our [gopush Docker image](https://hub.docker.com/r/appleboy/gopush/).
```bash
$ docker pull appleboy/gopush
$ docker run -name gopush -p 80:8088 appleboy/gopush
```
Testing your gopush server.
```bash
$ http -v --verify=no --json GET http://your.docker.host/api/status
```
## Web API
Gopush support the following API.
@ -183,6 +166,7 @@ Send multiple notifications as below:
}
```
See more example about [iOS](#ios-example) or [Android](#android-example).
### Request body
@ -357,6 +341,23 @@ Success response:
}
```
## Run gopush in Docker
Set up `gopush` in the cloud in under 5 minutes with zero knowledge of Golang or Linux shell using our [gopush Docker image](https://hub.docker.com/r/appleboy/gopush/).
```bash
$ docker pull appleboy/gopush
$ docker run -name gopush -p 80:8088 appleboy/gopush
```
Testing your gopush server.
```bash
$ http -v --verify=no --json GET http://your.docker.host/api/status
```
![statue screenshot](screenshot/status.png)
## License
Copyright 2016 Bo-Yi Wu [@appleboy](https://twitter.com/appleboy).