This repository holds all the frontend code needed to run the site. It consists of two parts, the SXA themes and the Scriban templates used on the site. The folder structure used in this repository mimics the SXA Creative Exchange output, therefore you can find the sources for the themes and the seperate scriban templates in the following folders:
|Extension Theme||\src-\media\Extension Themes\CSS Animations|
If you have already configured Creative Exchange you can skip the first step
Open PathToSitecoreInstance/Website/App_Config/Include/z.Feature.Overrides folder and remove .disabled from z.SPE.Sync.Enabler.Gulp.config.disabled file;
Clone the repository
Switch to this repository and open
Update config file for Gulp tasks:
serverOptions.server- path to sitecore instance. Example
go to the folder
\src\-\media\Themes\Sitecore\Styleguide\Styleguide\using the command prompt (or VS Code terminal)
npm install(node.js and npm should be already installed);
Run the gulp task to start Creative Exchange Live
For detailed instructions on how to setup Creative Exchange Live please read the readme file
Visual Studio Code
In the repository there is a Visual Studio code workspace that directly adds the folder locations mentioned previously.
Recommended VS Code extensions:
- Scriban Syntax Coloring extension for Visual Studio Code -
- Sitecore Experience Accelerator Scriban syntax coloring and auto completion
The code, samples and/or solutions provided in this repository are unsupported by Sitecore Support. Support is provided on a best-effort basis via GitHub issues.
It is assumed that you already have a working instance of Sitecore XM and all prerequisites prior to installing this site. Support for product installation issues should be directed to relevant Community channels or through regular Sitecore support channels.
The code, samples and/or solutions provided in this repository are for example purposes only and without warranty (expressed or implied). The code has not been extensively tested and is not guaranteed to be bug free.