Skip to content
This repository was archived by the owner on Jun 15, 2026. It is now read-only.

Commit b9b5e9f

Browse files
authored
Merge pull request #414 from NorwegianRefugeeCouncil/update-docs
add missing config + update install readme
2 parents 0a0d365 + 261cbaf commit b9b5e9f

2 files changed

Lines changed: 12 additions & 5 deletions

File tree

deployments/envoy-local.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ static_resources:
2323
stat_prefix: ingress_http
2424
http_filters:
2525
- name: envoy.filters.http.router
26+
typed_config:
27+
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
2628
route_config:
2729
name: local_route
2830
virtual_hosts:
@@ -71,6 +73,8 @@ static_resources:
7173
timeout: 0.250s
7274
path_prefix: /apis/authorization.nrc.no/v1
7375
- name: envoy.filters.http.router
76+
typed_config:
77+
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
7478
route_config:
7579
name: local_route
7680
virtual_hosts:

docs/getting_started.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
- When you start the tunnels for the first time, you will see 2 URLs that correspond to your tunnel URI. Open the
1010
links, and approve the dialog that will be presented to you. Otherwise all calls through the tunnels will fail.
1111
This has to be done every ~1 week as they are reset.
12+
> Be sure to follow the instructions to generate the password for each of the 2 URLs.
1213
- **Add the generated CA Certificate to your trust store**
1314
- Fedora: `sudo cp certs/ca.crt /etc/pki/ca-trust/source/anchors/nrc_core_dev.crt && sudo update-ca-trust`
1415
- Ubuntu: `sudo cp certs/ca.crt /usr/local/share/ca-certificates/nrc_core_dev.crt && sudo update-ca-certificates`
@@ -22,14 +23,16 @@
2223
- trust for identifying websites
2324
- Do the same sort of thing in firefox if you use that
2425
- Start docker resources `make up`
25-
- If you are running on MAC
26+
- If you are running on MAC, open a new terminal:
2627
- `make proxy-local`
28+
> This may require you to install `envoy`: `brew install envoy`
2729
- Migrate the database `make migrate`
2830
- Create initial configuration `make bootstrap`
29-
- Start the server `make serve`
30-
- Start the pwa frontend `make serve-pwa`
31-
- Start the admin frontend `make serve-admin`
32-
- Open the browser http://localhost:3000
31+
- Start the server `make serve` (open in a new terminal)
32+
- Optional: If you would like to add some predefined data into your instance, run `make seed`
33+
- Start the pwa frontend `make serve-pwa` (open in a new terminal)
34+
- Start the admin frontend `make serve-admin` (This is currently not implemented)
35+
- Open the browser http://localhost:3000. This should display a white page with a `login` button. Click `login` and it will display a popup window to login.
3336
- Authenticate with \<whatever\>`@nrc.no` (any email ending with `nrc.no`)
3437
- Click `Login with Norwegian Refugee Council`
3538
- Put any password (there is no password verification for this development oidc-provider)

0 commit comments

Comments
 (0)