view_demo.sh 321 B

123456789
  1. #!/usr/bin/env zsh
  2. # View the demo site on any local devices by binding the local IP on port 1315.
  3. # Run this script from the root Academic dir.
  4. HUGO_THEME=academic hugo \
  5. --source exampleSite --themesDir ../../ \
  6. --bind=0.0.0.0 -p 1315 --baseURL=http://0.0.0.0:1315 \
  7. --i18n-warnings --minify -e "development" \
  8. server