Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-11-08 12:45:30 -0800
committerCatalin Mititiuc <webdevcat@proton.me>2024-11-08 12:48:07 -0800
commitad69b0011adcd5f7f4ed4ff99f1accc84747da9c (patch)
tree93b01f21f6f1f08df5a078d42a3fe83079e1b2a9
parent9c34e15c47cf3578adeff41693a62061a25fdcde (diff)
Fix formatting in README.mdHEADmaster
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 8ed4dc8..bf42e08 100644
--- a/README.md
+++ b/README.md
@@ -3,14 +3,14 @@
Pan/zoom library for SVG elements. Hold and drag to pan. Use the mouse wheel to
zoom. See `src/app.js` for a usage example.
-## To view the demo using Docker
+## View demo
1. Install the development server packages.
- docker run --rm -w /app -v $PWD:/app -u $(id -u):$(id -u) node npm install
+ docker run --rm -w /app -v $PWD:/app -u $(id -u):$(id -u) node npm install
2. Start the server.
- docker run --rm --init -it -w /app -v $PWD:/app -p 8080:8080 node node dev-server.js
+ docker run --rm --init -it -w /app -v $PWD:/app -p 8080:8080 node node dev-server.js
3. Visit `localhost:8080` to view.