Make sure you have node and npm installed.
Install mkcert: docs
Goto your home directory (~
) and run:
mkcert -install
mkcert -key-file key.pem -cert-file cert.pem localhost 127.0.0.1
Two files have now been created in your home directory key.pem
and cert.pem
. Copy these two files to the cert directory of this project.
This will install all dependencies, including @gen-epix/ui as the version specified in package.json.
run npm install
If you wish the switch to Variation B
, simply follow it's instructions.
This will install all dependencies, including @gen-epix/ui symlinked in node_modules
.
checkout gen-epix-ui at ../gen-epix-ui
run ./installWithLinkedCore.sh
Note: You will have to run this every time dependencies have changed in package.json
. Don't use npm install
, it will unlink @gen-epix/ui
.
If you wish the switch to Variation A
, simply follow it's instructions.
Copy oidc-mock-server.config.example.json
to oidc-mock-server.config.json
and make changes in oidc-mock-server.config.json
Note: This front-end requires a running backend.
Follow these steps:
- Run the OIDC mock server (optional) (see below)
- Run the backend server (depending on the backend run-/debug profile, this should discover the OIDC mock server if started)
- Run the frontend (see below)
run npm start start-oidc-mock-server
run npm start
This work was funded by the European Union under the EU4Health Programme (EU4H), project ID 101113520 (NLWGSHERA2).
Disclaimer: Funded by the European Union. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or Health and Digital Executive Agency. Neither the European Union nor the granting authority can be held responsible for them.