mirror of
https://github.com/2009scape/2009scape.github.io.git
synced 2024-11-24 03:42:53 +01:00
fix serve instructions, add serve scripts, exclude dev files from web host
This commit is contained in:
parent
e913e849cf
commit
da45b269b4
11
README.md
11
README.md
@ -14,12 +14,11 @@ View the website live here: https://2009scape.github.io/
|
|||||||
This website utilizes Jekyll to generate static pages.
|
This website utilizes Jekyll to generate static pages.
|
||||||
|
|
||||||
1. Install Jekyll
|
1. Install Jekyll
|
||||||
- https://jekyllrb.com/docs/installation/
|
* https://jekyllrb.com/docs/installation/
|
||||||
2. Build the site (Inside project root)
|
2. Build and serve the site
|
||||||
- Windows: jekyll serve
|
* Inside project root run `jekyll serve` or alternatively:
|
||||||
- Unix: bundle exec jekyll serve
|
- Windows: `serve.bat`
|
||||||
3. Run a temporary web server in `_site/`
|
- Unix: `./serve.sh`
|
||||||
- `python -m http.server`
|
|
||||||
|
|
||||||
For faster builds locally (from about 80 seconds to about 6 seconds) add:
|
For faster builds locally (from about 80 seconds to about 6 seconds) add:
|
||||||
<pre>
|
<pre>
|
||||||
|
@ -1 +1,2 @@
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
|
exclude: [serve.bat, serve.sh, parse.py, README.md]
|
||||||
|
Loading…
Reference in New Issue
Block a user