Giter Club home page Giter Club logo

sitecore-standaloneshowconfig's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.