mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-05-27 07:36:18 +00:00
Updates README with Windows-specific commands (#231)
This commit is contained in:
20
README.md
20
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.
|
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:
|
Run locally with the specified data URL:
|
||||||
```
|
```shell
|
||||||
VITE_STATIC_URL=https://example.org/sample.ged npm start
|
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:
|
Build with the specified data URL:
|
||||||
```
|
```shell
|
||||||
VITE_STATIC_URL=https://example.org/sample.ged npm run build
|
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.
|
The `dist/` folder will contain files that can be hosted on a Web server.
|
||||||
|
|
||||||
### Alternative build
|
### Alternative build
|
||||||
|
|||||||
Reference in New Issue
Block a user