blob: a49dc7bb0d04d588e1b33716f18c270b149fbd42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Taler Demobank UI
Web-based user interface for the libeufin demobank.
## CLI Commands
- `./dev.mjs` development setup. Will listen in :8080 and reload every time a file is save.
- `./build.mjs` build for production.
- `./test.mjs` build and run unit test
## Testing
By default, the demobank-ui will expect the backend to be in `window.origin` but that can be overridden using the `settings.json` file or by session in the localStorage.
```
localStorage.setItem("bank-base-url", OTHER_URL);
```
## Customizing Per-Deployment Settings
To customize per-deployment settings, make sure that the
`settings.json` file is served alongside the UI.
For more information about the values check the file `settings.ts` in the src folder.
|