Install the prerequisites
- .NET Core 3.1 SDK (check your installed version with the dotnet --version command)
- .NET Framework 4.8 SDK (see the Microsoft procedure for checking .NET Framework versions)
- Visual Studio 2019
- Docker for Windows (with Windows Containers enabled)
- PowerShell 5.1 (PowerShell 7 is not supported)
Step 1:
ØCreated source folder and point the folder in powershell
ØRun it - > dotnet new -i Sitecore.DevEx.Templates --nuget-source https://sitecore.myget.org/F/sc-packages/api/v3/index.json
ØCheck if you have an Internet Information Server running on port 443:
Get-Process -Id (Get-NetTCPConnection -LocalPort 443).OwningProcess
ØIf you do, you must stop it:
iisreset /stop
ØCheck if you have an Internet Information Server running on port 8984:
Get-Process -Id (Get-NetTCPConnection -LocalPort 8984).OwningProcess
Step 2:
ØCreate new project- instance
dotnet new sitecore.aspnet.gettingstarted -n MySC10Project(this is my instance name)
ØSet certificate path
.\init.ps1 -InitEnv -LicenseXmlPath "<path to your license.xml file>" -AdminPassword "<your Sitecore administrator password>"
ØYou use the provided init.ps1 script to prepare the following items for the Sitecore container environment:
.\up.ps1
Step 3:
Øhttps://id.mysc10project.localhost/ points to the mysc10project_id_1 container with a Sitecore instance hosting Sitecore Identity Server.
Øhttps://cm.mysc10project.localhost/ points to the mysc10project_1 container with a Sitecore instance hosting Content Management, Content Delivery, and Sitecore Layout Service.
Øhttps://www.mysc10project.localhost/ points to the mysc10project_rendering_1 container with the rendering host.
Useful Comments
ØOnce you resume your work after this installation, you can use below comments for create new healthy containers
docker-compose stop
docker-compose down
iisreset /stop
docker-compose up -d