diff --git a/README.md b/README.md index 4be6556..ede4e5f 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ If you have any other issues or suggestions, go to https://github.com/halloffame 1. Fork and clone the project 2. `cd` into project 3. Run `npm install` # You will need to install node and npm if it is not already -4. Run `npm start` +4. Run `npm start` or `npm run start:win` on Windows 5. Make your changes locally and test them to make sure they work 6. Commit those changes and push to your forked repository 7. Make a new pull request diff --git a/package.json b/package.json index 46f2523..a7b8969 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "main": "server.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "start": "scripts/run.sh" + "start": "scripts/run.sh", + "start:win": "scripts\\run.cmd" }, "repository": { "type": "git", diff --git a/scripts/run.cmd b/scripts/run.cmd new file mode 100644 index 0000000..79ee323 --- /dev/null +++ b/scripts/run.cmd @@ -0,0 +1,3 @@ + +explorer http://localhost:3000/ +node server.js