From b09f5bd336b8c73fd15468314d0f67c9b5deb71c Mon Sep 17 00:00:00 2001 From: Ben Ramey Date: Fri, 5 Apr 2024 09:09:49 -0500 Subject: [PATCH] Use auto-setup and update proj refs --- src/OAP/OapApi.v1/OapApi.v1.csproj | 5 ++-- src/Twain.Web/Twain.Web.csproj | 7 ++--- src/Twain.Web/appsettings.json | 48 +++++++++++++++++++++++++----- 3 files changed, 46 insertions(+), 14 deletions(-) diff --git a/src/OAP/OapApi.v1/OapApi.v1.csproj b/src/OAP/OapApi.v1/OapApi.v1.csproj index 5fefd7b..d950341 100644 --- a/src/OAP/OapApi.v1/OapApi.v1.csproj +++ b/src/OAP/OapApi.v1/OapApi.v1.csproj @@ -14,11 +14,10 @@ - + - - + diff --git a/src/Twain.Web/Twain.Web.csproj b/src/Twain.Web/Twain.Web.csproj index 3226e0f..57e448d 100644 --- a/src/Twain.Web/Twain.Web.csproj +++ b/src/Twain.Web/Twain.Web.csproj @@ -24,12 +24,11 @@ - + - + + - - diff --git a/src/Twain.Web/appsettings.json b/src/Twain.Web/appsettings.json index 6d27889..4d352f9 100644 --- a/src/Twain.Web/appsettings.json +++ b/src/Twain.Web/appsettings.json @@ -1,9 +1,43 @@ { - "Logging": { - "IncludeScopes": false, - "LogLevel": { - "Default": "Warning", - "Microsoft.Hosting.Lifetime": "Information" - } - }, + "Logging": { + "IncludeScopes": false, + "LogLevel": { + "Default": "Warning", + "Microsoft.Hosting.Lifetime": "Information" + } + }, + "OrchardCore": { + "OrchardCore_AutoSetup": { + "AutoSetupPath": "", + "Tenants": [ + { + "ShellName": "Default", + "SiteName": "Twain", + "SiteTimeZone": "America/Chicago", + "AdminUsername": "benjaminramey", + "AdminEmail": "benramey@fastmail.com", + "AdminPassword": "cvn8tqg6BWT3vpa!umj", + "DatabaseProvider": "Sqlite", + "DatabaseConnectionString": "", + "DatabaseTablePrefix": "", + "RecipeName": "Blank" + }, + { + "ShellName": "OverseasAutoProtection", + "SiteName": "Overseas Auto Protection", + "SiteTimeZone": "America/Chicago", + "AdminUsername": "twain_admin", + "AdminEmail": "benramey@fastmail.com", + "AdminPassword": "PANHnH3.DP6zeqMqRY6d", + "DatabaseProvider": "Sqlite", + "DatabaseConnectionString": "", + "DatabaseTablePrefix": "oap", + "RecipeName": "Blank", + "RequestUrlHost": "", + "RequestUrlPrefix": "oap", + "FeatureProfile": "" + } + ] + } + } }