From a0d287650a35a779a3bc4770707705ced5e13075 Mon Sep 17 00:00:00 2001 From: Niels Saurer Date: Wed, 2 Oct 2019 23:46:33 +0200 Subject: [PATCH 1/3] Create config.json.example --- config/config.json.example | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 config/config.json.example diff --git a/config/config.json.example b/config/config.json.example new file mode 100644 index 0000000..f84ae73 --- /dev/null +++ b/config/config.json.example @@ -0,0 +1,17 @@ +{ + "sessionSecret": "sessionsecret", + "githubClientId": "clientid", + "githubClientSecret": "clientsecret", + "hostname": localhost, + "securePort": 4040, + "redirectPort": 4000, + "rss.title": "", + "rss.description": "", + "rss.feedURL": "", + "rss.siteURL": "", + "admins": "github:username", + "aws.accesskey": "AWS accesskey", + "aws.secretkey": "AWS secretkey", + "s3.bucket": "S3 bucket", + "sns.topic": "" +} From 52aef5606f46ff47c2773e27c46ad7007d1f9cbb Mon Sep 17 00:00:00 2001 From: Niels Saurer Date: Wed, 2 Oct 2019 23:48:47 +0200 Subject: [PATCH 2/3] Update README to reflect config.json.example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index decaa21..55a2638 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ __Note:__ If you discovered any issue with the extension registry or have an ide The key should be in `certificate.key` and the cert should be in `certificate.cert`. 4. Register a GitHub API [client app](https://github.com/settings/applications). The callback URL must match the hostname of your server. For testing, you could enter `https://localhost:4040/auth/github/callback`. -4. Also in the `config` folder, create a `config.json` file that contains: +4. Also in the `config` folder, copy the `config.json.example` file to `config.json` and make sure it contains: * `sessionSecret` - key to use for session hashing (required) * `githubClientId` - client id for registered GitHub app (required) * `githubClientSecret` - client secret for registered GitHub app (required) From ac0a5d2a153608f13a38120a13098e00d38f9c12 Mon Sep 17 00:00:00 2001 From: Niels Saurer Date: Wed, 2 Oct 2019 23:49:14 +0200 Subject: [PATCH 3/3] Rename config/config.json.example to config.json.example --- config/config.json.example => config.json.example | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename config/config.json.example => config.json.example (100%) diff --git a/config/config.json.example b/config.json.example similarity index 100% rename from config/config.json.example rename to config.json.example