47 lines
1.9 KiB
Markdown
47 lines
1.9 KiB
Markdown
# Redaction
|
|
|
|
### To Create a new Stack in rancher check [this Wiki page](https://wiki.iqser.com/pages/viewpage.action?spaceKey=RED&title=Work+with+kubectl)
|
|
|
|
# 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
|
|
|
|
- keycloak:
|
|
- authServerUrl: 'https://redkc-staging.iqser.cloud/auth'
|
|
- client:
|
|
- secret: 'a4e8aa56-03b0-4e6b-b822-8ac1f41280c4'
|
|
|
|
## 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:
|
|
|
|
* node 16 or newer installed ( https://nodejs.org/en/download/ )
|
|
* yarn ( execute `npm install -g yarn` in any terminal after installing node )
|
|
|
|
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.
|