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
1. Build the Docker image
docker build -t btroops .
## Install packages
2. Install `node` packages
./npm install
## Start the dev server
3. Start development server
./npm run start
Visit `localhost:8080` to view.
4. Visit `localhost:8080` with browser to view app.
## Run integration tests
## 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)