fix serve instructions, add serve scripts, exclude dev files from web host

This commit is contained in:
ryannathans 2021-12-24 21:43:05 +11:00
parent e913e849cf
commit da45b269b4
4 changed files with 10 additions and 7 deletions

View File

@ -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:
<pre>

View File

@ -1 +1,2 @@
encoding: UTF-8
encoding: UTF-8
exclude: [serve.bat, serve.sh, parse.py, README.md]

1
serve.bat Normal file
View File

@ -0,0 +1 @@
jekyll serve

2
serve.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
jekyll serve