Skip to content

Commit

Permalink
Oppdaterer readme etter overgang fra å hente tokenet i cookie til å b…
Browse files Browse the repository at this point in the history
…ruke fakedings (#1809)
  • Loading branch information
olekvernberg authored Dec 16, 2024
1 parent 4079ada commit a4283e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
Frontend - søknad for enslig forsørger.

## Kjør lokalt
Lokal kjøring krever internett da tokenet hentes fra fakedings: `https://github.com/navikt/fakedings`

1. `npm install`
2. `npm run start`
3. Kjør opp `familie-ef-soknad-api`
4. Hvis du mangler token må du få cookie fra søknad-api
`http://localhost:8091/local/cookie?redirect=http://localhost:3000/familie/alene-med-barn/soknad&issuerId=tokenx&audience=familie-app`

4. Gå til `http://localhost:3000/familie/alene-med-barn/soknad/`

### Mot preprod:
1. Hent token fra
Expand All @@ -22,6 +21,7 @@ TOKENX_DOKUMENT=...
```
3. `npm install`
4. `npm run start:preprod`
5. Gå til url: `http://localhost:3000/familie/alene-med-barn/soknad/`

* Hvis man ønsker å kjøre med mock-api
1. `node mock/mock-server.js`
Expand Down

0 comments on commit a4283e9

Please sign in to comment.