ELifeRPG / Core

Core project
MIT License
3 stars 0 forks source link
api arma arma-reforger blazor dotnet rpg

ELifeRPG Core

The core project is responsible for persistence, configuration and administration of the game modification.

Releases MIT License Codacy Badge Codacy Badge

Features

Getting started

Setup

Please refer to the server setup guide for installing ELifeRPG to your server.

Prepare environment

Dependencies

A list of dependencies which can be started by using (docker compose)|(podman-compose) up -d

Local secrets

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"

Development hints

EF Migrations

To use dotnet-ef tool, you need to specify the project and startup project like this:

dotn <command>