2022-10-25 01:13:25 +02:00
|
|
|
# Taler Demobank UI
|
2022-10-24 10:46:14 +02:00
|
|
|
|
|
|
|
## CLI Commands
|
|
|
|
|
2022-10-25 01:13:25 +02:00
|
|
|
- `pnpm install`: Installs dependencies
|
2022-10-24 10:46:14 +02:00
|
|
|
|
2022-10-28 15:00:19 +02:00
|
|
|
- `pnpm run build`: Create a production-ready build under `dist/`.
|
2022-10-24 10:46:14 +02:00
|
|
|
|
2022-10-25 01:13:25 +02:00
|
|
|
- `pnpm run check`: Run type checker
|
2022-10-24 10:46:14 +02:00
|
|
|
|
2022-10-25 01:13:25 +02:00
|
|
|
- `pnpm run lint`: Pass TypeScript files using ESLint
|
2022-10-28 13:57:08 +02:00
|
|
|
|
|
|
|
## Testing
|
|
|
|
|
|
|
|
By default, the demobank-ui points to `https://bank.demo.taler.net/demobanks/default/`
|
|
|
|
as the bank access API base URL.
|
|
|
|
|
|
|
|
This can be changed for testing by setting the URL via local storage (via your browser's devtools):
|
|
|
|
```
|
|
|
|
localStorage.setItem("bank-base-url", OTHER_URL);
|
|
|
|
```
|