diff --git a/README.md b/README.md index 34a9164..d05d943 100644 --- a/README.md +++ b/README.md @@ -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` diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..15455cc --- /dev/null +++ b/package-lock.json @@ -0,0 +1,5 @@ +{ + "name": "webdev-assignment-2", + "version": "0.1.0", + "lockfileVersion": 1 +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..8f8b55a --- /dev/null +++ b/package.json @@ -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" +}