index : pan-zoom | |
SVG pan/zoom library. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-11-08 13:19:02 -0800 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-11-08 13:19:02 -0800 |
commit | 24a2d7fa807d1a6f1b3cb43761c60d80cb023525 (patch) | |
tree | f656d1247ea4d40c00e05148f162aa5c625f3b51 | |
parent | 33b0a75df147dcfbee98a635f71dcce2e3081453 (diff) | |
parent | ad69b0011adcd5f7f4ed4ff99f1accc84747da9c (diff) |
Merge branch 'master' into cm-programmatic-pancm-programmatic-pan
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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. |