You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-7Lines changed: 12 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,13 +58,18 @@ Open up your browser to <http://localhost:1313> to view the website. As you make
58
58
59
59
Make sure to install the Hugo extended version specified by the `HUGO_VERSION` environment variable in the [`netlify.toml`](netlify.toml#L11) file.
60
60
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
+
```
68
73
69
74
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.
0 commit comments