hugo-academic-mirror/scripts/view_demo.sh
George Cushen 64c3c7e8a2 feat: rename repo to wowchemy-hugo-themes
Except repo name in module names as that would be a breaking change
2021-10-04 12:18:12 +01:00

11 lines
408 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 Wowchemy dir.
HUGO_THEME=wowchemy-hugo-themes 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=wowchemy-hugo hugo convert toYAML --unsafe --themesDir ../../