mirror of
https://github.com/HSLdevcom/digitransit-ui
synced 2025-07-06 01:00:37 +02:00
22 lines
537 B
Markdown
22 lines
537 B
Markdown
# Using scripts
|
|
|
|
See the `themeMap` in `app/configurations/config.default.js` for configuration options.
|
|
|
|
## Before using
|
|
```
|
|
source ui.sh
|
|
```
|
|
## Usage examples
|
|
|
|
Using remote instance of OTP with subscription key:
|
|
```
|
|
SUBSCRIPTION_KEY=<your_subscription_key> ui hsl
|
|
```
|
|
Using local instance of OTP on port `9080`:
|
|
```
|
|
SUBSCRIPTION_KEY=<your_subscription_key> uiotp matka
|
|
```
|
|
In case you do not need features usable with a subscription key when running a local instance of OTP on port `9080`:
|
|
```
|
|
NO_SUBSCRIPTION_KEY=true uiotp matka
|
|
```
|