From 9effca2b1ae09d399eb151d4d62a19752040c5c2 Mon Sep 17 00:00:00 2001 From: "Benjamin J. Balter" Date: Wed, 15 May 2013 13:01:33 -0400 Subject: move sample config from readme to individual file --- config.sample.json | 18 ++++++++++++++++++ readme.md | 23 +---------------------- 2 files changed, 19 insertions(+), 22 deletions(-) create mode 100644 config.sample.json diff --git a/config.sample.json b/config.sample.json new file mode 100644 index 0000000..1ad82cf --- /dev/null +++ b/config.sample.json @@ -0,0 +1,18 @@ +{ + "gh_server": "github.com", + "temp": "/home/ubuntu/jekyll-hook", + "scripts": { + "build": "./scripts/build.sh", + "publish": "./scripts/publish.sh" + }, + "email": { + "user": "", + "password": "", + "host": "", + "ssl": true + }, + "accounts": [ + "developmentseed", + "mapbox" + ] +} \ No newline at end of file diff --git a/readme.md b/readme.md index 74589ef..acd9234 100644 --- a/readme.md +++ b/readme.md @@ -12,28 +12,7 @@ A server that listens for webhook posts from GitHub, generates a website with Je Adjust `build.sh` and `publish.sh` to suit your workflow. By default, they generate a site with Jekyll and publish it to an NGINX web directory. -Copy the following JSON to `config.json` in the application's root directory. - -```json -{ - "gh_server": "github.com", - "temp": "/home/ubuntu/jekyll-hook", - "scripts": { - "build": "./scripts/build.sh", - "publish": "./scripts/publish.sh" - }, - "email": { - "user": "", - "password": "", - "host": "", - "ssl": true - }, - "accounts": [ - "developmentseed", - "mapbox" - ] -} -``` +Copy `config.sample.json` to `config.json` in the root directory and customize. Configuration attributes: -- cgit v1.2.3