From e186d7004fe72f74d4309f1d3f7cde46380f5587 Mon Sep 17 00:00:00 2001 From: Romanenko Alexey Date: Fri, 29 May 2020 10:58:06 +0700 Subject: [PATCH] fix config path in readme #514 (#516) --- .gitignore | 1 + README.md | 4 ++-- contrib/init/debian/README.md | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index fdad830..683a0e6 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,4 @@ dist custom release coverage.txt +node_modules diff --git a/README.md b/README.md index 16c2f27..9dabd99 100644 --- a/README.md +++ b/README.md @@ -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 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) ```yaml @@ -338,7 +338,7 @@ gorush -android -m "your message" -k "API key" -t "Device token" ## 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 # for default config diff --git a/contrib/init/debian/README.md b/contrib/init/debian/README.md index afe9001..39704c0 100644 --- a/contrib/init/debian/README.md +++ b/contrib/init/debian/README.md @@ -27,7 +27,7 @@ create gorush configuration file. ```sh mkdir -p /etc/gorush -cp config/config.yml /etc/gorush/ +cp config/testdata/config.yml /etc/gorush/ ``` start gorush service.