Update README.md

This commit is contained in:
Catalin Constantin Mititiuc 2025-06-16 22:41:34 -07:00
parent c78bb89ffe
commit 2fa5358ccc

View File

@ -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 ./npm run test:integ
### Debugging an integration test ### Debug
1. Put `debugger` in whatever test you want to debug. 1. Put `debugger` in whatever test you want to debug.
@ -94,6 +98,5 @@ debug>
### References ### References
https://nodejs.org/en/learn/getting-started/debugging - [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)
https://nodejs.org/api/debugger.html