Skip to content

bic742/Sitecore-StandaloneShowConfig

Repository files navigation

Sitecore-StandaloneShowConfig

Description

Load the fully compiled configuration for a Sitecore server without Sitecore! Configuration issues can cause Sitecore to fail to startup. The normal process of reviewing your configuration via /sitecore/admin/showconfig.aspx does not work if Sitecore is not running. This can make troubleshooting config issues difficult.

Enter the Standalone ShowConfig. This app will compile the showconfig without running any of the initialization processes, thus allowing you to see what Sitecore is working with.

Read this to determine the process: https://www.xcentium.com/blog/2018/02/25/standalone-sitecore-showconfig

How To Use

IIS

  1. Checkout the code
  2. Setup an IIS website targeting the {repoRoot}/SitecoreShowConfigStandalone folder
  3. Drop your App_Config files into the website root
  4. Navigate to the /showconfig.aspx of your site

Docker (do it yourself)

NOTE: This assumes you have Docker for Windows running. Check out Rob's post to get set up

  1. Checkout the code
  2. Copy/rename the .env.example --> .env
  3. Update WINDOWSSERVERCORE_VERSION in the .env (if necessary)
  4. Drop your App_Config files into the /docker/src folder
  5. Run docker-compose up -d
  6. Navigate to http://standalone.dev.local/showconfig.aspx

Docker (I did it for you!)

  1. docker pull bic74287/sitecore-standalone-showconfig:10.2.0-20H2
  2. docker run -d -p 80:80 --volume=path/to/app_config:C:\inetpub\wwwroot\app_config bic74287/sitecore-standalone-showconfig:10.2.0-20H2

NOTE: You still have to mount an App_Config folder

Rule Based Configuration Supported!

By default, the page will examine the app settings in your web.config file to determine the rules to apply. You can override the rules in the web.config by using the query string:

`/showconfig.aspx?role=ContentDelivery&search=solr`

If you're using Docker, then you can specify the values as environment variables in your compose:

environment:
  SITECORE_APPSETTINGS_SEARCH:DEFINE: "Azure"

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published