Skip to content

Commit 99df4b5

Browse files
committed
Add npm script to start development server and update README.
1 parent d78f6ae commit 99df4b5

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ To clone the repo please keep in mind:
3232

3333
To run a local version of the site:
3434

35-
1. Run cmd: `./node_modules/.bin/hugo server --environment development`
36-
37-
The path syntax prefacing `hugo` may be different based on your operating system and terminal you use.
35+
1. Run cmd: `npm start`
3836

3937
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.
4038

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Node files needed by Docsy",
55
"main": "index.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"start": "hugo server --environment development"
88
},
99
"repository": {
1010
"type": "git",

0 commit comments

Comments
 (0)