Skip to content

endeavourhealth-discovery/IMDirectory

Repository files navigation

Information Model (v2)

Version Build Status Unit Tests

Sonar

Module Status
UI Quality Gate (UI)
Common Quality Gate (Common)
API Quality Gate (API)

Setup

NOTE: This repository now uses pnpm

Fontawesome

Information Model (v2) optionally uses FontAwesome Pro. To use FontAwesome Pro add a valid FONT-AWESOME-PACKAGE-TOKEN to the pnpm config prior to running the install script:

Terminal

pnpm config set "@fortawesome:registry" https://npm.fontawesome.com/
pnpm config set "//npm.fontawesome.com/:_authToken" FONT-AWESOME-PACKAGE-TOKEN

And add the environment variable VITE_FONT_AWESOME_PACKAGE_TOKEN withinthe ui package .env files

Install

Run the following terminal command in the project root:

pnpm run install-all

Execute

To run both the UI and API from the root folder (in parallel), run pnpm run dev. Alternatively, cd into the relevant module and pnpm run dev from there.