Prerequisites

 

.NET Core 3.1 SDK

.NET Framework 4.8

Visual Studio 2019

Docker for Windows

PowerShell 5.1

 

Let’s create our very first image for Sitecore instance clone from sitecore image to local from

https://github.com/Sitecore/Helix.Examples/tree/master/examples/helix-basic-aspnetcore Or run git clone https://github.com/Sitecore/Helix.Examples.git

you will get something like the below screenshot in the same location you ran the command.

 



Initialize

 

Open a Powershell administrator prompt and run the following command, replacing the  -LicenseXmlPath with the location of your Sitecore license file.

.\init.ps1 -LicenseXmlPath C:\License\license.XML

 

You can also set the Sitecore admin password using the –SitecoreAdminPassword parameter (default is “b”).

This will perform any necessary preparation steps, such as populating the Docker Compose environment (.env) file, configuring certificates, and adding hosts file entries.




 

Build the Solution and Start Sitecore

 

Next, run the following command.

            docker-compose up –d

This will download required docker images, build the solution and Sitecore runtime images, and then start the containers.

 



Hit url – https://xp0cm.localhost/



You can rebuild the index and are good to go.