Merge pull request 'Update readme' (#197) from nevfy/selfprivacy.org:upd-readme into master

Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org/pulls/197
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
This commit is contained in:
Inex Code 2024-10-17 08:44:37 +03:00
commit cd824da683

View file

@ -84,6 +84,14 @@ Once you've made your working copy of the site repo, from the repo root folder,
hugo server 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 ## Running a container locally
You can run docsy-example inside a [Docker](https://docs.docker.com/) You can run docsy-example inside a [Docker](https://docs.docker.com/)