Skip to content

Pro-Mentor/shared-environment

Repository files navigation

Shared Environment

start the instace

    docker compose up
  • setup keycloak
  • setup postgres

setup local development environment

  • add following lines to the hosts files

    • in windows (usually in C:\Windows\System32\drivers\etc\hosts) \
    • in linux base systems (usually in /etc/hosts)
127.0.0.1 idp.promentor.local
127.0.0.1 sltc.app.promentor.local
127.0.0.1 pro-mentor-web.app.promentor.local
127.0.0.1 pro-mentor.app.promentor.local

Go to keycloak admin console

    username: admin
    password: admin

setup email configuration

  • go to Users and set admin account email in master realm

  • select the relevant realms from top left drop down and go to Realm Settings -> Email Tab.

  • In the Connection & Authentication section first Disable the Authentication and then Enable it.

  • Replace the Password with the SMTP server access key and Save it and click on Test Connection to test the connection

relam admin login panel

  • log into the master realm

  • go to the realm, want to add a admin that local to that realm. (admin can access the admin console of that realm)

  • create a User in that realm and set email and password

  • go to the Role mapping under that user and assing the "account-admin" role to that user

  • then you can access admin panel for that realm using that user credentials

http://idp.promentor.local:8080/admin/<tenant id>/console/
  • replace the <tenant> id according to the tenant

CI/CD

CI/CD diagram

Referances

About

Shared Environment for the project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •