diff --git a/Core/Resgrid.Config/CacheConfig.cs b/Core/Resgrid.Config/CacheConfig.cs index 7a8bfb47..a81d3297 100644 --- a/Core/Resgrid.Config/CacheConfig.cs +++ b/Core/Resgrid.Config/CacheConfig.cs @@ -2,6 +2,6 @@ { public static class CacheConfig { - public static string RedisConnectionString = ""; + public static string RedisConnectionString = "rgdevinfaserver,abortConnect=false,syncTimeout=10000"; } } diff --git a/Core/Resgrid.Config/ResgridConfig.json b/Core/Resgrid.Config/ResgridConfig.json index 7acbb496..5aba1b8f 100644 --- a/Core/Resgrid.Config/ResgridConfig.json +++ b/Core/Resgrid.Config/ResgridConfig.json @@ -109,5 +109,5 @@ "ExternalErrorConfig.ExternalErrorServiceUrl": "", "ExternalErrorConfig.ExternalErrorServiceUrlForWebsite": "", - "CacheConfig.RedisConnectionString": "" + "CacheConfig.RedisConnectionString": "rgdevinfaserver,abortConnect=false,syncTimeout=10000" } diff --git a/Web/Resgrid.Web.ServicesCore/appsettings.Development.json b/Web/Resgrid.Web.ServicesCore/appsettings.Development.json index 487d9ba8..05e44558 100644 --- a/Web/Resgrid.Web.ServicesCore/appsettings.Development.json +++ b/Web/Resgrid.Web.ServicesCore/appsettings.Development.json @@ -1,12 +1,12 @@ { "AppOptions": { - "ConfigPath": null + "ConfigPath": "C:\\Resgrid\\Config\\ResgridConfig.json" }, "ApplicationInsights": { "InstrumentationKey": "a784b9f9-28b1-48da-8b06-bc2ab8a9e68b" }, "ConnectionStrings": { - "ResgridContext": "Server=rgdevserver;Database=Resgrid;User Id=resgrid_app;Password=resgrid123;MultipleActiveResultSets=True;" + "ResgridContext": "Server=rgdevserver;Database=Resgrid;User Id=resgrid_app;Password=resgrid123;MultipleActiveResultSets=True;" }, "Logging": { "IncludeScopes": false, diff --git a/Web/Resgrid.Web.ServicesCore/appsettings.Production.json b/Web/Resgrid.Web.ServicesCore/appsettings.Production.json index d82b4b38..40c913f7 100644 --- a/Web/Resgrid.Web.ServicesCore/appsettings.Production.json +++ b/Web/Resgrid.Web.ServicesCore/appsettings.Production.json @@ -1,19 +1,19 @@ { - "AppOptions": { - "ConfigPath": null - }, - "ApplicationInsights": { - "InstrumentationKey": "a784b9f9-28b1-48da-8b06-bc2ab8a9e68b" - }, - "ConnectionStrings": { - "ResgridContext": "Server=rgdevserver;Database=Resgrid;User Id=resgrid_app;Password=resgrid123;MultipleActiveResultSets=True;" - }, - "Logging": { - "IncludeScopes": false, - "LogLevel": { - "Default": "Debug", - "System": "Information", - "Microsoft": "Information" - } + "AppOptions": { + "ConfigPath": "C:\\Resgrid\\Config\\ResgridConfig.json" + }, + "ApplicationInsights": { + "InstrumentationKey": "a784b9f9-28b1-48da-8b06-bc2ab8a9e68b" + }, + "ConnectionStrings": { + "ResgridContext": "Server=rgdevserver;Database=Resgrid;User Id=resgrid_app;Password=resgrid123;MultipleActiveResultSets=True;" + }, + "Logging": { + "IncludeScopes": false, + "LogLevel": { + "Default": "Debug", + "System": "Information", + "Microsoft": "Information" } + } } diff --git a/Web/Resgrid.Web.ServicesCore/appsettings.Staging.json b/Web/Resgrid.Web.ServicesCore/appsettings.Staging.json index d82b4b38..40c913f7 100644 --- a/Web/Resgrid.Web.ServicesCore/appsettings.Staging.json +++ b/Web/Resgrid.Web.ServicesCore/appsettings.Staging.json @@ -1,19 +1,19 @@ { - "AppOptions": { - "ConfigPath": null - }, - "ApplicationInsights": { - "InstrumentationKey": "a784b9f9-28b1-48da-8b06-bc2ab8a9e68b" - }, - "ConnectionStrings": { - "ResgridContext": "Server=rgdevserver;Database=Resgrid;User Id=resgrid_app;Password=resgrid123;MultipleActiveResultSets=True;" - }, - "Logging": { - "IncludeScopes": false, - "LogLevel": { - "Default": "Debug", - "System": "Information", - "Microsoft": "Information" - } + "AppOptions": { + "ConfigPath": "C:\\Resgrid\\Config\\ResgridConfig.json" + }, + "ApplicationInsights": { + "InstrumentationKey": "a784b9f9-28b1-48da-8b06-bc2ab8a9e68b" + }, + "ConnectionStrings": { + "ResgridContext": "Server=rgdevserver;Database=Resgrid;User Id=resgrid_app;Password=resgrid123;MultipleActiveResultSets=True;" + }, + "Logging": { + "IncludeScopes": false, + "LogLevel": { + "Default": "Debug", + "System": "Information", + "Microsoft": "Information" } + } } diff --git a/Web/Resgrid.Web.ServicesCore/appsettings.json b/Web/Resgrid.Web.ServicesCore/appsettings.json index 185342be..00571897 100644 --- a/Web/Resgrid.Web.ServicesCore/appsettings.json +++ b/Web/Resgrid.Web.ServicesCore/appsettings.json @@ -10,6 +10,9 @@ "ServerUrls": "http://192.168.130.83:8200", "ServiceName": "ResgridAPI" }, + "AppOptions": { + "ConfigPath": "C:\\Resgrid\\Config\\ResgridConfig.json" + }, "ApplicationInsights": { "InstrumentationKey": "09c7a847-e608-4d34-87db-5f405906d92d" }, diff --git a/docs/source/installation/index.rst b/docs/source/installation/index.rst index a23205a9..b11e7828 100644 --- a/docs/source/installation/index.rst +++ b/docs/source/installation/index.rst @@ -84,7 +84,12 @@ Redis Redis is an standalone, resilient in memory data store that Redis uses to cache data that is shared across multiple servers. Redis is an optional dependency but is highly recommended for production installations of Resgrid. Redis does not run well on Windows and thus needs to be installed a Unix or Linux based system. You can get `Redis Server `_ from their website. Version 4.0 or newer is recommended. -.. important:: Although Redis is optional, it's recommended for production installations or multi server installations of Resgrid. +Redis for Windows is not natively supported. To run on Windows you will need to install and configure WSL 2 and install and run Redis on that. + +`How to Install WSL 2 on Windows Server 2019 `_ +`How to install Redis on WSL `_ +Important Note About Support +**************************** +Resgrid is a complex system that can scale from a single instance to dozens of systems to service thousands of users. These installation setups get your system into a state where you can test and validate locally on the install system. To get Resgrid up and running to service non-local users you will need to reconfigure and harden the system. To complete those steps and configuration the system to your orginizational needs you will require an IT professional. We do not provide installation support outside this guide via our Github page. Initial Web Login **************************** diff --git a/misc/images/IISSetupConntectAs.png b/misc/images/IISSetupConntectAs.png new file mode 100644 index 00000000..fc3ba744 Binary files /dev/null and b/misc/images/IISSetupConntectAs.png differ diff --git a/misc/images/IISSetupConntectAs2.png b/misc/images/IISSetupConntectAs2.png new file mode 100644 index 00000000..20642bbe Binary files /dev/null and b/misc/images/IISSetupConntectAs2.png differ diff --git a/misc/images/IISSetupConntectAsTest.png b/misc/images/IISSetupConntectAsTest.png new file mode 100644 index 00000000..41ab1b6e Binary files /dev/null and b/misc/images/IISSetupConntectAsTest.png differ diff --git a/misc/images/WindowsSetDirectoryPerms.png b/misc/images/WindowsSetDirectoryPerms.png new file mode 100644 index 00000000..8b6af1da Binary files /dev/null and b/misc/images/WindowsSetDirectoryPerms.png differ diff --git a/misc/images/WindowsUserCreation1.png b/misc/images/WindowsUserCreation1.png new file mode 100644 index 00000000..f690f320 Binary files /dev/null and b/misc/images/WindowsUserCreation1.png differ diff --git a/misc/images/WindowsUserCreation2.png b/misc/images/WindowsUserCreation2.png new file mode 100644 index 00000000..fe7994c9 Binary files /dev/null and b/misc/images/WindowsUserCreation2.png differ