|
9 | 9 | - When you start the tunnels for the first time, you will see 2 URLs that correspond to your tunnel URI. Open the |
10 | 10 | links, and approve the dialog that will be presented to you. Otherwise all calls through the tunnels will fail. |
11 | 11 | 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. |
12 | 13 | - **Add the generated CA Certificate to your trust store** |
13 | 14 | - Fedora: `sudo cp certs/ca.crt /etc/pki/ca-trust/source/anchors/nrc_core_dev.crt && sudo update-ca-trust` |
14 | 15 | - Ubuntu: `sudo cp certs/ca.crt /usr/local/share/ca-certificates/nrc_core_dev.crt && sudo update-ca-certificates` |
|
22 | 23 | - trust for identifying websites |
23 | 24 | - Do the same sort of thing in firefox if you use that |
24 | 25 | - Start docker resources `make up` |
25 | | -- If you are running on MAC |
| 26 | +- If you are running on MAC, open a new terminal: |
26 | 27 | - `make proxy-local` |
| 28 | + > This may require you to install `envoy`: `brew install envoy` |
27 | 29 | - Migrate the database `make migrate` |
28 | 30 | - 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. |
33 | 36 | - Authenticate with \<whatever\>`@nrc.no` (any email ending with `nrc.no`) |
34 | 37 | - Click `Login with Norwegian Refugee Council` |
35 | 38 | - Put any password (there is no password verification for this development oidc-provider) |
|
0 commit comments