Web Dev Solutions

Catalin Mititiuc

From 70b0d908852dee6e16a1b12de63001b7034d5ca4 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Fri, 8 Nov 2024 14:50:27 -0800 Subject: Update README.md --- README.md | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 353a47b..855e53a 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,26 @@ -## Build the Docker image +## Run - docker build -t btroops . +1. Build the Docker image -## Install packages + docker build -t btroops . - ./npm install +2. Install `node` packages -## Start the dev server + ./npm install - ./npm run start +3. Start development server -Visit `localhost:8080` to view. + ./npm run start -## Run integration tests +4. Visit `localhost:8080` with browser to view app. + +## Integration tests + +### Run ./npm run test:integ -### Debugging an integration test +### Debug 1. Put `debugger` in whatever test you want to debug. @@ -94,6 +98,5 @@ debug> ### References -https://nodejs.org/en/learn/getting-started/debugging - -https://nodejs.org/api/debugger.html +- [https://nodejs.org/en/learn/getting-started/debugging](https://nodejs.org/en/learn/getting-started/debugging) +- [https://nodejs.org/api/debugger.html](https://nodejs.org/api/debugger.html) -- cgit v1.2.3