Example solution for creating custom Sitecore images, with recommended folder structure for container development.
Please follow below steps to setup this repository on your local system
-
Clone this repo
-
Open the PowerShell command prompt with
ADMINaccess -
Go to the folder
custom-imagesin the PowerShell window -
Execute the
init.ps1withADMINaccess and pass the license file path
.\init.ps1 -LicenseXmlPath "<C:\path\to\license.xml><path to your license.xml file>"- Build the appropriate Docker images and then start up.
.\clean-install.ps1 <XP1 or XM1>-
.\clean-install.ps1 XP1will create the XP Scaled environment -
.\clean-install.ps1 XM1will create the XM environment -
.\clean-install.ps1will create the XP0 environmentThe above command will create the specific Sitecore Topology environemnt.
- Tear down and cleanup code changes when done.
.\down.ps1 <XP1 or XM1>.\down.ps1 XP1will clear artifacts for the XP Scaled environment.\down.ps1 XM1will clear artifacts for the XM environment.\down.ps1will clear artifacts for the XP0 environment