aboutsummaryrefslogtreecommitdiff
path: root/packages/bank-ui/README.md
blob: 4275cce572d35444efa036a064c9d96933de436e (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 Bank UI

Web-based user interface for the libeufin bank ui.

## 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 bank-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.