Web Dev Solutions

Catalin Mititiuc

From 25172dafedc72f9691086b7ace3137c8aaf89fd1 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Thu, 18 Apr 2024 12:02:08 -0700 Subject: Add Docker command scripts --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index ad1221a..6ae4673 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,10 @@ docker run --rm --init -it -v $PWD:/usr/src/app -p 8080:8080 btroops +or, run the start script + + ./run-start + Visit `localhost:8080` to view. ## Run a test @@ -22,6 +26,10 @@ The container can access the outside without setting a port or a network. The ne docker run --rm -it -v $PWD:/usr/src/app btroops npm run test:integ +or, run the test script + + ./run-test + ## Rough way to save the SVG map generated by JavaScript client-side const XMLS = new XMLSerializer(); -- cgit v1.2.3