From a4283e961f07517123387b22dc2ffc6fc3b55b96 Mon Sep 17 00:00:00 2001 From: Ole Christian Kvernberg <42737566+olekvernberg@users.noreply.github.com> Date: Mon, 16 Dec 2024 12:29:12 +0100 Subject: [PATCH] =?UTF-8?q?Oppdaterer=20readme=20etter=20overgang=20fra=20?= =?UTF-8?q?=C3=A5=20hente=20tokenet=20i=20cookie=20til=20=C3=A5=20bruke=20?= =?UTF-8?q?fakedings=20(#1809)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 30dc8417c..4dde31ef1 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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`