red-ui/README.md
2024-07-09 12:26:13 +03:00

1.9 KiB

Redaction

To Create a new Stack in rancher check this Wiki page

Dependencies update guide

  • When updating @pdftron/webviewer, make sure to change the version also in the angular.json and everywhere where the path to /assets/wv-recources is used
  • Make sure the keycloak.js version is the same with the keycloak version from helm chart

Code style

  • Don't use setInterval without calling clearInterval in ngOnDestroy or in destroyRef.onDestroy(() => clearInterval(intervalId))
  • Never call getters in HTML templates

Keycloak Staging Config

Default Testing URLs

  • https://dev-04.iqser.cloud/
  • https://dev-08.iqser.cloud/

Test Users

username role comment
guest cannot use the application
user RED_USER
red_manager RED_MANAGER
useradmin RED_ADMIN, RED_USER has super power !
manageradmin RED_ADMIN RED_MANAGER RED_USER has super super power !

Password for all users is OsloImWinter!23

Running the app locally

Requirements:

In the root folder simply execute yarn install followed by yarn start. The file apps/red-ui/src/assets/config.config.json contains the configuration for local development. All properties defined here are later available via env variables.