Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-04-18 10:01:26 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-04-18 10:05:21 -0700
commit8e74cef4a5b63ab14e47d8d698f804745c0c4ea6 (patch)
tree6fee17cb5c152ae584d4e81a7c941ee9d08588e9 /README.md
parent23967fe2f5ae9fb6d6c8a2cbc29845531f7acece (diff)
Run server on different port when running tests
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 1437308..ad1221a 100644
--- a/README.md
+++ b/README.md
@@ -4,13 +4,13 @@
## Start the dev server
- docker run --rm --init -it -w /app -v $PWD:/app -p 8080:8080 node node dev-server.js
+ docker run --rm --init -it -v $PWD:/usr/src/app -p 8080:8080 btroops
Visit `localhost:8080` to view.
## Run a test
-You need chrome and chromedriver installed. The Dockerfile builds an image that does that. Then run the test with that image.
+You need chrome and chromedriver installed to run the integration tests. The Dockerfile builds an image that does that. Then run the test with that image.
`--network host` gives the container internet access. Necessary if tests make outside requests.