hugo-academic-mirror/scripts/view_demo.sh
George Cushen 9b2e271c7c fix: links
2023-11-07 23:09:38 +00:00

12 lines
410 B
Bash
Executable file

#!/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 Hugo Blox dir.
HUGO_THEME=hugo-blox-builder hugo \
--source exampleSite --themesDir ../../ \
--bind=0.0.0.0 -p 1315 --baseURL=http://0.0.0.0:1315 \
--i18n-warnings --minify -e "development" \
server
#HUGO_THEME=hugo-blox-builder hugo convert toYAML --unsafe --themesDir ../../