Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,12 @@ To clone the repo please keep in mind:

To run a local version of the site:

1. Run cmd: `./node_modules/.bin/hugo server --environment development`
1. Run one of the following commands:

The path syntax prefacing `hugo` may be different based on your operating system and terminal you use.
* `npm run build`
* `./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.

The path syntax prefacing `hugo` may be different based on your operating system and terminal you use.

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.

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "Node files needed by Docsy",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"start": "hugo server --environment development",
"build": "hugo server --environment development"
},
"repository": {
"type": "git",
Expand Down