Initialise Node
This commit is contained in:
parent
4f0ce43149
commit
41cbc84076
@ -1,2 +1,11 @@
|
||||
# WebDev-Assignment-2
|
||||
|
||||
### Install
|
||||
|
||||
_**Note:** You need to have node js installed, just use the latest 'Current' version found [here](https://nodejs.org/en/)_
|
||||
|
||||
- _Install node js if you haven’t already per above note_
|
||||
- Download and extract the provided web_dev zip to a suitable location.
|
||||
- Navigate using command line into the extracted directory e.g. `cd webdev-assignment-2`
|
||||
- Install dependencies via: `npm install`. This only needs to be done the first time the folder is initialized
|
||||
- Start the server / Serve the html with: `npm start`
|
||||
|
||||
5
package-lock.json
generated
Normal file
5
package-lock.json
generated
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "webdev-assignment-2",
|
||||
"version": "0.1.0",
|
||||
"lockfileVersion": 1
|
||||
}
|
||||
18
package.json
Normal file
18
package.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "webdev-assignment-2",
|
||||
"version": "0.1.0",
|
||||
"description": "My submission for the second WebDev (COMP2772) assignment.",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"start": "ws"
|
||||
},
|
||||
"author": "Thomas Wade",
|
||||
"devDependencies": {},
|
||||
"dependencies": {},
|
||||
"main": "server.js",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://tem.party:3000/tom/WebDev-Assignment-2.git"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user