brew install go
docker
and docker-compose
make install-all
make init-secrets
make tunnels
(install localtunnels if you don’t have it yarn global add localtunnel
)
Be sure to follow the instructions to generate the password for each of the 2 URLs.
sudo cp certs/ca.crt /etc/pki/ca-trust/source/anchors/nrc_core_dev.crt && sudo update-ca-trust
sudo cp certs/ca.crt /usr/local/share/ca-certificates/nrc_core_dev.crt && sudo update-ca-certificates
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain certs/ca.crt
make up
make proxy-local
This may require you to install
envoy
:brew install envoy
make migrate
make bootstrap
make serve
(open in a new terminal)make seed
make serve-pwa
(open in a new terminal)make serve-admin
(This is currently not implemented)login
button. Click login
and it will display a popup window to login.
@nrc.no
(any email ending with nrc.no
)Login with Norwegian Refugee Council
creds/
You can put any password you want in the fake oidc provider.
Component | Address | Purpose |
---|---|---|
Core React App | http://localhost:3000 | Frontend for form management & data collection |
Core App Backend | http://localhost:9000 | API for Core React App |
Core Admin React App | http://localhost:3001 | Frontend for Core Admin Backend |
Core Admin Backend | http://localhost:9001 | OAuth & Identity Provider Management |
Core Login Server | http://localhost:9002 | Federates Identity Providers & Password Credentials |
Hydra Public | http://localhost:4444 | Provides OIDC Protocol to Core Login Server |
Hydra Private | http://localhost:4445 | Private management api for Hydra |
Simple OIDC | http://localhost:9005 | Local OIDC provider for development purposes |