red-ui/README.md
2022-11-29 11:25:58 +02:00

2.1 KiB

Redaction

To Create a new Stack in rancher

Goto rancher.iqser.com: Select Cluster Development, go to apps, click launch and select Redaction from the dev section. Add a new name and a new namespace. Select answers-development.yaml and add it to answers Edit as yaml.

For HTTPS / Cloudflare domain go to workloads -> Loadbalancing -> select your stack Add cloudflare certificate and specify a hostname to use timo-redaction-dev.iqser.cloud

Keycloak Staging Config

Default Testing URL

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

Known errors

  • In case of CORS or redirect_uri errors follow these steps:
    • Go to <HOST>.iqser.cloud/auth/admin/master/console
    • Login with admin and admin1234
    • In the left menu go to Clients
    • In the table click redaction
    • Find Valid Redirect URIs input
    • Under /ui/* add new value http://localhost:4200/*
    • Save

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.