Skip to content

Commit

Permalink
docs: Update README and .env.development
Browse files Browse the repository at this point in the history
  • Loading branch information
bprusinowski committed Sep 9, 2024
1 parent 3bd000c commit 57dd6bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ yarn dev:ssl # If you are working with the login process
> experience an SSL error when the authentication provider redirects you back to
> the app after login. You can either remove the trailing s in the URL after the
> redirection, or use the `yarn dev:ssl` command to use HTTPs for the
> development server.
> development server. Also, make sure to set the `NEXTAUTH_URL` environment
> variable to `https://localhost:3000` in your `.env.local` file.
> 👉 In [Visual Studio Code](https://code.visualstudio.com/), you also can run
> the **default build task** (CMD-SHIFT-B) to start the dev server, database
Expand Down Expand Up @@ -351,6 +352,9 @@ You can use the ref eIAM. ADFS environment variables should be configured in
your `.env.local` file. You'll find those secret variables in our shared
1Password in the "Visualize.admin .env.local" entry.

Make sure to set the `NEXTAUTH_URL` environment variable to
`http://localhost:3000` and run the dev server with `yarn dev:ssl`.

## 10. <a name='Translations'></a>Translations

Translations are managed via [Accent](https://accent.interactivethings.io).
Expand Down
3 changes: 2 additions & 1 deletion app/.env.development
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ WHITELISTED_DATA_SOURCES=["Prod", "Prod-uncached", "Int", "Int-uncached", "Test"
SENTRY_IGNORE_API_RESOLUTION_ERROR=1
NEXT_PUBLIC_VECTOR_TILE_URL=https://world.vectortiles.geo.admin.ch
NEXT_PUBLIC_MAPTILER_STYLE_KEY=123
ADFS_PROFILE_URL=https://www.myaccount-r.eiam.admin.ch/
ADFS_PROFILE_URL=https://www.myaccount-r.eiam.admin.ch/
NEXTAUTH_URL=https://localhost:3000

0 comments on commit 57dd6bb

Please sign in to comment.