Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hotfix: improve README related to JWT/tapisv3 #213

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,17 @@ Hazmapper is an application for creating, visualizing, and analyzing geospatial

See https://github.com/TACC-Cloud/geoapi which is an associated restful API.

### Getting started
- Get a JWT from someone on WMA-Geospatial subgroup
- GOTO jwt.io and edit that JWT to have your username/details
- Create a file in angular/src/environments called jwt.ts that has this in it:

export const jwt = "YOUR JWT FROM ABOVE"

## Local React Development (work-in-progress)


`react/` has the React client

To get started, create a local secret file for local development:
```
cp react/src/secret_local.example.ts react/src/secret_local.ts
```

Add the jwt retrieved from [Getting started](###getting-started) to `react/src/secret_local.ts`.
Get a JWT from someone on WMA-Geospatial subgroup and add the jwt to `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`

Expand Down
Loading