demo: sync preprocessed resources for Hugo Themes Site

This commit is contained in:
George Cushen 2020-01-01 12:56:19 +00:00
commit eb953ed475
7 changed files with 11 additions and 2 deletions

5
scripts/gen_demo_resources.sh Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env zsh
# Generate preprocessed resources for demo site whilst also removing disused resources.
# Run this script from the root Academic dir.
HUGO_THEME=academic hugo --source exampleSite --themesDir ../../ --gc

View file

@ -1,3 +1,5 @@
#!/usr/bin/env zsh
# View the demo site on any local devices by binding the local IP on port 1315.
# Run this script from the root Academic dir.
HUGO_THEME=academic hugo --source exampleSite --themesDir ../../ --i18n-warnings --bind=0.0.0.0 -p 1315 --baseURL=http://0.0.0.0:1315 server