7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-12-25 13:25:49 +00:00
web-ansol.org/themes/academic/scripts/view_demo.sh
2020-06-11 12:46:16 +01:00

10 lines
321 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 Academic dir.
HUGO_THEME=academic hugo \
--source exampleSite --themesDir ../../ \
--bind=0.0.0.0 -p 1315 --baseURL=http://0.0.0.0:1315 \
--i18n-warnings --minify -e "development" \
server