Skip to content

Commit

Permalink
Document configuration options
Browse files Browse the repository at this point in the history
  • Loading branch information
konsumlamm committed Jun 14, 2024
1 parent d7871de commit 9af0dea
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ TRIAS_API_ENDPOINT=YOUR_API_ENDPOINT
TRIAS_ACCESS_TOKEN=YOUR_TOKEN
```

## Configuration
### Robusta
Robusta can be configured via environment variables or by using a `.env` file.

Options:
* `TRIAS_API_ENDPOINT`
* `TRIAS_ACCESS_TOKEN`
* `NO_FETCH_TRAINS`: when this is set, no train data is fetched (in particular, `TRIAS_API_ENDPOINT` and `TRIAS_ACCESS_TOKEN` are not needed)
* `PORT`: the port (default: 3000)

## Portability
If you are not in Karlsruhe, but want to use the app, you have to change some stuff:
* The map center: update `CENTER` in `liberica/src/components/map/Map.tsx`
Expand Down

0 comments on commit 9af0dea

Please sign in to comment.