- Install Hugo through Homebrew for Linux
- Create a firewall rule exposing Hugo's default port (1313)
- Run
hugo serve --bind=0.0.0.0 -b http://$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1):1313/
or justifconfig
and paste the IP for eth0.
Created
February 16, 2020 04:40
-
-
Save scarnecchia/76d599925ba2dc04d0aad1d1fad9085a to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment