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.
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)
Also you have to init dotnet secrets if you want to use the alerting service:
{
"Telegram": {
"ApiToken": "YOUR-API-TOKEN"
}
}
To build just run the .sh files in ./Docker. You may have to change the tag.
In your IDE just run those 3 projects:
- Muddi.ShiftPlanner.Client
- Muddi.ShiftPlanner.Server.Api
- Muddi.ShiftPlanner.Services.Alerting