I want to share my writings to my colleague thorugh my IP before publishing it. So here how I done it:
- Get your IP using the command ipconfigfrom the terminal.
- Go to your Hugo project’s root directory in your terminal.
- Run the following command, replacing <YOUR_NETWORK_IP>with the IP address.
- hugo server --bind 0.0.0.0 --baseUrl http://<YOUR_NETWORK_IP>:1313
- The server will start, and the output should show the website is available at http://<YOUR_NETWORK_IP>:1313.
What are your thoughts on this post?
I’d love to hear from you! Click this link to email me, I reply to every message!
Also use the share button below if you liked this post. It makes me smile, when I see it.