Add configuration instructions
This commit is contained in:
parent
02c45bbc63
commit
e62fb0ff5f
@ -14,6 +14,7 @@
|
|||||||
- [About](#about)
|
- [About](#about)
|
||||||
- [Getting Started](#getting_started)
|
- [Getting Started](#getting_started)
|
||||||
- [Configuration](#configuration)
|
- [Configuration](#configuration)
|
||||||
|
- [Configuration](#configuration)
|
||||||
- [Usage](#usage)
|
- [Usage](#usage)
|
||||||
- [Roadmap](#roadmap)
|
- [Roadmap](#roadmap)
|
||||||
|
|
||||||
@ -54,12 +55,14 @@ $ npm install
|
|||||||
$ npm run build && npm run start
|
$ npm run build && npm run start
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Configuration <a name="configuration"></a>
|
||||||
|
|
||||||
|
The URL for the Tailfin API can be set with the environment variable `TAILFIN_API_URL`. It defaults to `http://localhost:8081`, which assumes the API runs on the same machine and uses the default port.
|
||||||
|
|
||||||
## Usage <a name="usage"></a>
|
## Usage <a name="usage"></a>
|
||||||
|
|
||||||
Once running, the web app can be accessed at `localhost:3000`
|
Once running, the web app can be accessed at `localhost:3000`
|
||||||
|
|
||||||
Currently, this only supports a local Tailfin API instance running at `localhost:8081`. This can be modified by manually editing `app/util/api.ts`.
|
|
||||||
|
|
||||||
## Roadmap <a name="roadmap"></a>
|
## Roadmap <a name="roadmap"></a>
|
||||||
|
|
||||||
- [x] Basic API sessions and data fetching
|
- [x] Basic API sessions and data fetching
|
||||||
|
Loading…
x
Reference in New Issue
Block a user