Skip to content

Commit

Permalink
Merge pull request kubernetes#43044 from aj11anuj/Branch-13
Browse files Browse the repository at this point in the history
Updated cmds for Window users at README.md
  • Loading branch information
k8s-ci-robot authored Sep 16, 2023
2 parents 6345f78 + c3b33f9 commit 6431667
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,18 @@ Open up your browser to <http://localhost:1313> to view the website. As you make

Make sure to install the Hugo extended version specified by the `HUGO_VERSION` environment variable in the [`netlify.toml`](netlify.toml#L11) file.

To build and test the site locally, run:

```bash
# install dependencies
npm ci
make serve
```
To install dependencies, deploy and test the site locally, run:

- For macOS and Linux
```bash
npm ci
make serve
```
- For Windows (PowerShell)
```powershell
npm ci
hugo.exe server --buildFuture --environment development
```

This will start the local Hugo server on port 1313. Open up your browser to <http://localhost:1313> to view the website. As you make changes to the source files, Hugo updates the website and forces a browser refresh.

Expand Down

0 comments on commit 6431667

Please sign in to comment.