diff options
| author | Benjamin J. Balter <ben.balter@github.com> | 2013-05-15 13:01:33 -0400 | 
|---|---|---|
| committer | Benjamin J. Balter <ben.balter@github.com> | 2013-05-15 13:01:33 -0400 | 
| commit | 9effca2b1ae09d399eb151d4d62a19752040c5c2 (patch) | |
| tree | 9cad0ce0f7a426634de872a5d2a06cadd8bb4c0b | |
| parent | 45d4a59238b571fcad098ead1a9b44dd01f54e96 (diff) | |
move sample config from readme to individual file
| -rw-r--r-- | config.sample.json | 18 | ||||
| -rw-r--r-- | readme.md | 23 | 
2 files changed, 19 insertions, 22 deletions
| 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 @@ -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: | 
