The core project is responsible for persistence, configuration and administration of the game modification.
- Components:
- Rest-API for the modification
- Web-UI for several target-audiences like Players, Moderators, Administrators
- Accounts/Players, Characters, Companies, Economy configuration
- Auditing of important state changes
Please refer to the server setup guide for installing ELifeRPG to your server.
A list of dependencies which can be started by using (docker compose)|(podman-compose) up -d
- PostgreSQL on port 5432
- additionally Adminer on port 8080
You need to configure your local secrets which are not meant to be shared among developers using dotnet user-secrets
.
Since the projects do use the same user-secrets-id, we can do it only for the most common project, which is the Migrator:
# required for Web-UI: discord application secret
dotnet user-secrets --project src/Migrator set "OIDC:Discord:ClientSecret" "foo"
# optional: override connection-string to postgresql
dotnet user-secrets --project src/Migrator set "ConnectionStrings:Database" "Host=localhost;Database=foo;Username=bar;Password=baz"
To use dotnet-ef tool, you need to specify the project and startup project like this:
dotn <command>