Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.46 KB

Readme.md

File metadata and controls

47 lines (31 loc) · 1.46 KB

Muddi's Shift Planner

How to contribute

First install dotnet 8 sdk and the newest version of docker (which inclues docker compose) then:

cd Docker/muddi-shiftplanner-compose/
docker compose up

this will start up the services you need for development.

Keycloak

In keycloak admin console login with user admin and pass admin, click on master realm and on Add realm. Then Select file and select ./Docker/muddi-shiftplanner-compose/config/keycloak/realm-export.json.

Then create a new user called [email protected] in the Muddi Realm, make sure you set 'E-Mail verified' and then set the Credentials (password) as admin. Also give the user under Role Mappings all roles for the shift-planner Client and also in client role realm-management the role view-users

In Role Mappings you can also set Client Roles for shift-planner (e.g. admin, editor, super-admin or viewer)

Dotnet secrets

Also you have to init dotnet secrets if you want to use the alerting service:

secrets.json:
{
  "Telegram": {
    "ApiToken": "YOUR-API-TOKEN"
  }
}

Building Images

To build just run the .sh files in ./Docker. You may have to change the tag.

Running

In your IDE just run those 3 projects:

  • Muddi.ShiftPlanner.Client
  • Muddi.ShiftPlanner.Server.Api
  • Muddi.ShiftPlanner.Services.Alerting