Skip to content

RIVM-bioinformatics/gen-epix-ui-demo-client

Repository files navigation

gen-epix-logo

Gen-EpiX Demo Client

Installation

Prerequisites

Make sure you have node and npm installed.

SSL installation

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.

Client installation

Variation A: Install with versioned @gen-epix/ui

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.

Variation B: Install with linked @gen-epix/ui

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.

OIDC Mock server installation (optional)

Copy oidc-mock-server.config.example.json to oidc-mock-server.config.json and make changes in oidc-mock-server.config.json

Running

Note: This front-end requires a running backend.

Follow these steps:

  1. Run the OIDC mock server (optional) (see below)
  2. Run the backend server (depending on the backend run-/debug profile, this should discover the OIDC mock server if started)
  3. Run the frontend (see below)

Running the OIDC mock server

run npm start start-oidc-mock-server

Running the Demo Client

run npm start

Funding

This work was funded by the European Union under the EU4Health Programme (EU4H), project ID 101113520 (NLWGSHERA2).

cofunded-EU-logo

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •