From 4925f15c757a6cb57eb5a667a7a14bf54277c629 Mon Sep 17 00:00:00 2001 From: Adam Gross <634414+adamgross42@users.noreply.github.com> Date: Mon, 29 Dec 2025 00:17:57 -0800 Subject: [PATCH] Updates README with Windows-specific commands (#231) --- README.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0132f29..64d5881 100644 --- a/README.md +++ b/README.md @@ -110,14 +110,30 @@ These are the exact files that are hosted on GitHub pages. You can run Topola Viewer in a "single tree mode" that displays only the GEDCOM you specify. Specify the URL to a GEDCOM file in the `VITE_STATIC_URL` environment variable when building and running the application. Run locally with the specified data URL: -``` +```shell VITE_STATIC_URL=https://example.org/sample.ged npm start ``` +
+For Windows CMD: + +```cmd +set VITE_STATIC_URL=https://example.org/sample.ged && npm run build +``` +
Build with the specified data URL: -``` +```shell VITE_STATIC_URL=https://example.org/sample.ged npm run build ``` + +
+For Windows CMD: + +```cmd +set VITE_STATIC_URL=https://example.org/sample.ged && npm run build +``` +
+ The `dist/` folder will contain files that can be hosted on a Web server. ### Alternative build