diff --git a/README.md b/README.md index 46b08bd55..4e8f3908a 100644 --- a/README.md +++ b/README.md @@ -14,12 +14,11 @@ View the website live here: https://2009scape.github.io/ This website utilizes Jekyll to generate static pages. 1. Install Jekyll - - https://jekyllrb.com/docs/installation/ -2. Build the site (Inside project root) - - Windows: jekyll serve - - Unix: bundle exec jekyll serve -3. Run a temporary web server in `_site/` - - `python -m http.server` + * https://jekyllrb.com/docs/installation/ +2. Build and serve the site + * Inside project root run `jekyll serve` or alternatively: + - Windows: `serve.bat` + - Unix: `./serve.sh` For faster builds locally (from about 80 seconds to about 6 seconds) add:
diff --git a/_config.yml b/_config.yml index ba1e3c278..88bdad888 100644 --- a/_config.yml +++ b/_config.yml @@ -1 +1,2 @@ -encoding: UTF-8 \ No newline at end of file +encoding: UTF-8 +exclude: [serve.bat, serve.sh, parse.py, README.md] diff --git a/serve.bat b/serve.bat new file mode 100644 index 000000000..8bfad892e --- /dev/null +++ b/serve.bat @@ -0,0 +1 @@ +jekyll serve diff --git a/serve.sh b/serve.sh new file mode 100755 index 000000000..fcd62f56c --- /dev/null +++ b/serve.sh @@ -0,0 +1,2 @@ +#!/bin/sh +jekyll serve