2019-10-19 21:33:56 +02:00
|
|
|
#!/usr/bin/env zsh
|
|
|
|
|
2020-01-01 13:56:19 +01:00
|
|
|
# View the demo site on any local devices by binding the local IP on port 1315.
|
2023-11-08 00:09:38 +01:00
|
|
|
# Run this script from the root Hugo Blox dir.
|
|
|
|
HUGO_THEME=hugo-blox-builder hugo \
|
2020-01-26 17:38:01 +01:00
|
|
|
--source exampleSite --themesDir ../../ \
|
|
|
|
--bind=0.0.0.0 -p 1315 --baseURL=http://0.0.0.0:1315 \
|
|
|
|
--i18n-warnings --minify -e "development" \
|
|
|
|
server
|
2020-09-27 00:16:52 +02:00
|
|
|
|
2023-11-08 00:09:38 +01:00
|
|
|
#HUGO_THEME=hugo-blox-builder hugo convert toYAML --unsafe --themesDir ../../
|