Serge van den Oever's weblog

Installing the Sitecore 9.3 SXA.Styleguide project

May 26, 2020 • ☕️ 1 min read

Mark van Aalst provides a great “no C# code” SXA sample project with the SXA.Styleguide project available on Github. In this post I describe how to get this project up and running on your local Sitecore 9.3 installation.

When you want to install the SXA.Styleguide by Mark van Aalst, and you don’t want to do it using Docker, follow the following steps:

  • Create file build\props\Website.Publishing.props.user to override the path for PublishRootDirectory to the folder of your installed Sitecore site:
<Project>
  <PropertyGroup>
    <PublishRootDirectory>C:\inetpub\wwwroot\sxastyleguideorgsc.dev.local\</PublishRootDirectory>
  </PropertyGroup>
</Project>
  • Open the file src\Project\Website\website\App_Config\Include\Project\Styleguide.Project.Website\Styleguide.Project.Website.config and change the path of the serializationFolder to the items folder in your project folder:
<sc.variable name="serializationFolder" value="C:\p\sxastyleguide\SXA.Styleguide\items\" />
  • Navigate to the Unicorn panel on your website: https://sxastyleguideorgsc.dev.local/unicorn.aspx, and sync items
  • (Re)build the search indexes - the SXA Styleguide showcases the out-of-the-box search components, but to get search results we first need to (re)build the indexes:

    1. log-in to the Launchpad
    2. Open the Control Panel
    3. in the Indexing section, click Indexing Manager
    4. select at least the sitecoresxamaster_index and press the Rebuild button

Done!

Discuss on TwitterEdit on GitHub

Serge van den Oever's weblog

Serge van den Oever

Personal blog by Serge van den Oever - als je maar lol hebt...