Saturday, October 13, 2018

Sitecore XC - Skip installation modules

During the deployment, if we want to skip a particular module, We can simply do this by following below steps -

In the folder where you deployed the SIF.Sitecore.Commerce package, open the
Configuration/Commerce/Master_SingleServer.json

Remove the reference - As an example below


to remove a complete task - Access the folder where we deployed the SIF.Sitecore.Commerce package, open the
Configuration\Commerce/, and locate the "Tasks" section.
The following shows an example of the "tasks" section in the Configuration/Commerce/
CommerceEngine/CommerceEngine.Initialize.json file. Remove completed tasks, and save your changes. Now run the Deploy-Sitecore-Commerce.ps1 script again. The script performs the remaining deployment tasks.

We can simply skip the task by passing parameter like

Install-SitecoreConfiguration @params -Skip ModulePowershellExtensions_CheckPaths,Module-PowershellExtensions_InstallModul

No comments:

Post a Comment