Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Wighus Holtmon
PROG2053-Project
Commits
c12df213
Commit
c12df213
authored
Nov 01, 2021
by
Martin Wighus Holtmon
Browse files
Update README.md
parent
12a2302e
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
c12df213
...
...
@@ -6,7 +6,11 @@
3.
Open a terminal window at that directory:
-
Install modules:
`npn install`
-
Build the website:
`npm run build:w`
-
Run the webserver:
`node webServer.js`
-
This command essentially builds the website every thime you change something (:w = watch)
-
If you modify the webpack.config.js file, you need to cancel and run this command again (every time you create a new page).
-
Run the webserver:
`node webServer.js`
-
How to build and run the website:
-
On linux/mac you could run this one-liner to build and run the website:
`node webServer.js && npn run build:w`
-
On Windows, the simplest way is to open two terminal windows for each command. (You could also run the start.bat file in each the directory)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment