diff options
author | Dave Cole <dave@developmentseed.org> | 2013-04-10 10:55:31 -0400 |
---|---|---|
committer | Dave Cole <dave@developmentseed.org> | 2013-04-10 10:55:31 -0400 |
commit | 5e47199c472a2052a7393e3493b8d7c95be53189 (patch) | |
tree | 45e907c233adce8ec0b814dfd1ef45db09315f42 | |
parent | 809a9b5204804ef36bae56f04eb640ab342fd381 (diff) |
Better documentation.
-rw-r--r-- | readme.md | 5 | ||||
-rwxr-xr-x | scripts/build.sh | 6 | ||||
-rwxr-xr-x | scripts/publish.sh | 6 |
3 files changed, 13 insertions, 4 deletions
@@ -1,14 +1,15 @@ # jekyll-hook -A server that listens for webhook posts from GitHub, generates a site with Jekyll, and moves it somewhere to be served. Use this to run your own GitHub Pages-style web server. Great for when you need to serve your websites behind a firewall, need extra server-level features like HTTP basic auth (see `default` file for Nginx config with basic auth), or want to host your site directly on a CDN or file host like S3. It's cutomizable with two user-configurable shell scripts and a config file. +A server that listens for webhook posts from GitHub, generates a website with Jekyll, and moves it somewhere to be published. Use this to run your own GitHub Pages-style web server. Great for when you need to serve your websites behind a firewall, need extra server-level features like HTTP basic auth (see below for an NGINX config with basic auth), or want to host your site directly on a CDN or file host like S3. It's cutomizable with two user-configurable shell scripts and a config file. ## Installation -- `build.sh` installs server dependencies for Ubuntu Linux - run `$ npm install` to install app dependencies ## Configuration +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 diff --git a/scripts/build.sh b/scripts/build.sh index c4942ac..f92e77a 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,5 +1,9 @@ #!/bin/bash -set -e +set -e + +# This script is meant to be run automatically +# as part of the jekyll-hook application. +# https://github.com/developmentseed/jekyll-hook repo=$1 branch=$2 diff --git a/scripts/publish.sh b/scripts/publish.sh index 5e1d2f1..82e728b 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -1,5 +1,9 @@ #!/bin/bash -set -e +set -e + +# This script is meant to be run automatically +# as part of the jekyll-hook application. +# https://github.com/developmentseed/jekyll-hook repo=$1 branch=$2 |