fix config path in readme #514 (#516)

This commit is contained in:
Romanenko Alexey 2020-05-29 10:58:06 +07:00 committed by GitHub
parent 6bad4797b4
commit e186d7004f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@ -35,3 +35,4 @@ dist
custom custom
release release
coverage.txt coverage.txt
node_modules

View File

@ -89,7 +89,7 @@ A push notification micro server using [Gin](https://github.com/gin-gonic/gin) f
- Support running in Docker, [Kubernetes](https://kubernetes.io/) or [AWS Lambda](https://aws.amazon.com/lambda) ([Native Support in Golang](https://aws.amazon.com/blogs/compute/announcing-go-support-for-aws-lambda/)) - Support running in Docker, [Kubernetes](https://kubernetes.io/) or [AWS Lambda](https://aws.amazon.com/lambda) ([Native Support in Golang](https://aws.amazon.com/blogs/compute/announcing-go-support-for-aws-lambda/))
- Support graceful shutdown that workers and queue have been sent to APNs/FCM before shutdown service. - Support graceful shutdown that workers and queue have been sent to APNs/FCM before shutdown service.
See the default [YAML config example](config/config.yml): See the default [YAML config example](config/testdata/config.yml):
[embedmd]:# (config/testdata/config.yml yaml) [embedmd]:# (config/testdata/config.yml yaml)
```yaml ```yaml
@ -338,7 +338,7 @@ gorush -android -m "your message" -k "API key" -t "Device token"
## Run gorush web server ## Run gorush web server
Please make sure your [config.yml](config/config.yml) exist. Default port is `8088`. Please make sure your [config.yml](config/testdata/config.yml) exist. Default port is `8088`.
```bash ```bash
# for default config # for default config

View File

@ -27,7 +27,7 @@ create gorush configuration file.
```sh ```sh
mkdir -p /etc/gorush mkdir -p /etc/gorush
cp config/config.yml /etc/gorush/ cp config/testdata/config.yml /etc/gorush/
``` ```
start gorush service. start gorush service.