Serge van den Oever's weblog

Installing the Sitecore 9.3 SXA.Styleguide project

Tue May 26 2020 • ☕️ 1 min read • you like my writing? Buy me a coffee

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

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License. You are free to share and adapt this work for non-commercial purposes, provided you give appropriate credit, provide a link to the license, and indicate if changes were made. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc/4.0/.

Serge van den Oever's weblog

Serge van den Oever

Personal blog by Serge van den Oever - als je maar lol hebt...
X: @svdoever
LinkedIn: Serge van den Oever - articles on LinkedIn
GitHub: svdoever

Technology Consultant @ Macaw
2021-2024 Sitecore Technology MVP