mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.git
synced 2025-01-28 19:56:49 +00:00
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:
commit
cd824da683
|
@ -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/)
|
||||
|
|
Loading…
Reference in a new issue