Skip to content

Commit c3b33f9

Browse files
aj11anujankit-gitt
authored andcommitted
Squashed commits
1 parent 23631bb commit c3b33f9

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

README.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,18 @@ Open up your browser to <http://localhost:1313> to view the website. As you make
5858

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

61-
To build and test the site locally, run:
62-
63-
```bash
64-
# install dependencies
65-
npm ci
66-
make serve
67-
```
61+
To install dependencies, deploy and test the site locally, run:
62+
63+
- For macOS and Linux
64+
```bash
65+
npm ci
66+
make serve
67+
```
68+
- For Windows (PowerShell)
69+
```powershell
70+
npm ci
71+
hugo.exe server --buildFuture --environment development
72+
```
6873

6974
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.
7075

0 commit comments

Comments
 (0)