mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
demo: sync preprocessed resources for Hugo Themes Site
This commit is contained in:
parent
1990134455
commit
eb953ed475
7 changed files with 11 additions and 2 deletions
5
scripts/gen_demo_resources.sh
Executable file
5
scripts/gen_demo_resources.sh
Executable 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
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue