Updates README with Windows-specific commands (#231)

This commit is contained in:
Adam Gross 2025-12-29 00:17:57 -08:00 committed by GitHub
parent 4cb1bace5c
commit 4925f15c75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
```
<details>
<summary>For Windows CMD:</summary>
```cmd
set VITE_STATIC_URL=https://example.org/sample.ged && npm run build
```
</details>
Build with the specified data URL:
```
```shell
VITE_STATIC_URL=https://example.org/sample.ged npm run build
```
<details>
<summary>For Windows CMD:</summary>
```cmd
set VITE_STATIC_URL=https://example.org/sample.ged && npm run build
```
</details>
The `dist/` folder will contain files that can be hosted on a Web server.
### Alternative build