fix: update readme

This commit is contained in:
nevfy 2024-10-17 03:36:24 +03:00
parent b83be121af
commit 2e989d6fcf

View file

@ -84,6 +84,14 @@ Once you've made your working copy of the site repo, from the repo root folder,
hugo server
```
You can view your site copy on any device connected to the same network. For example, if you're working on a laptop with address `192.168.1.99`, run:
```
hugo server --bind 192.168.1.99
```
The site will be available at `192.168.1.99:1313`, which you can also visit from another device, like your smartphone. If it doesn't work, check if your firewall blocks incoming connections over port `1313`. To use a different port, like `8080`, add `--port 8080`.
## Running a container locally
You can run docsy-example inside a [Docker](https://docs.docker.com/)