Skip to content

Commit 90eb8db

Browse files
committed
Add and document alternative npm scripts
1 parent 99df4b5 commit 90eb8db

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,12 @@ To clone the repo please keep in mind:
3232

3333
To run a local version of the site:
3434

35-
1. Run cmd: `npm start`
35+
1. Run one of the following commands:
36+
37+
* `npm run build`
38+
* `./node_modules/.bin/hugo server --environment development` – in this case, you can use [different parameters](https://gohugo.io/commands/hugo_server/) to build the site in different ways—for example, build a copy of the production site and save it locally.
39+
40+
The path syntax prefacing `hugo` may be different based on your operating system and terminal you use.
3641

3742
Once the site is built you will see a table indicating how many pages have been created. You will need to wait until the server is set up before you can see the site.
3843

0 commit comments

Comments
 (0)