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