diff options
| -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: | 
