Skip to content

Commit

Permalink
Refactor backend info
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanfranklin committed Oct 18, 2024
1 parent 839a53c commit 9947294
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,14 @@ To get started, create a local secret file for local development:
cp react/src/secret_local.example.ts react/src/secret_local.ts
```

The `geoapiBackend` in ( see [react/src/secret_local.example.ts](react/src/secret_local.example.ts) ) can be used to select which backend `geoapi` is used by Hazmapper during local development (e.g. `EnvironmentType.Production`, `EnvironmentType.Staging`, `EnvironmentType.Dev`, * `EnvironmentType.Local`
The `geoapiBackend` setting in `react/src/secret_local.ts` ( see the example [react/src/secret_local.example.ts](react/src/secret_local.example.ts) ) controls which backend `GeoAPI` is used by Hazmapper during local development. You can choose from the following:

See https://github.com/TACC-Cloud/geoapi for more details on running geoapi locally.
* `EnvironmentType.Production`
* `EnvironmentType.Staging`
* `EnvironmentType.Dev`
* `EnvironmentType.Local`

To run Hazmapper with the GeoAPI backend locally, configure `geoapiBackend` to use `GeoapiBackendEnvironment.Local` and see the [GeoAPI repository](https://github.com/TACC-Cloud/geoapi) for more detailed instructions.

#### Run

Expand Down

0 comments on commit 9947294

Please sign in to comment.