index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-04-18 10:01:26 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-04-18 10:05:21 -0700 |
commit | 8e74cef4a5b63ab14e47d8d698f804745c0c4ea6 (patch) | |
tree | 6fee17cb5c152ae584d4e81a7c941ee9d08588e9 /README.md | |
parent | 23967fe2f5ae9fb6d6c8a2cbc29845531f7acece (diff) |
Run server on different port when running tests
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. |