Update README.md
This commit is contained in:
parent
135ce7db9e
commit
70b0d90885
27
README.md
27
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user