Ensure you have followed the steps listed on the installation documentation.
The Helix examples assume you have some experience with (or at least an understanding of) Docker container-based Sitecore development. For more information, see the Sitecore Containers Documentation.
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.
Run the following command in PowerShell.
docker-compose up -d
This will download any required Docker images, build the solution and Sitecore runtime images, and then start the containers. The example uses the Sitecore Experience Management (XM1) topology.
Once complete, you can access the instance with the following.
- Sitecore Content Management: https://cm.basic-company-unicorn.localhost
- Sitecore Identity Server: https://id.basic-company-unicorn.localhost
- Basic Company site: https://www.basic-company-unicorn.localhost
The serialized items will automatically sync when the instance is started, but you'll need to publish them.
Login to Sitecore at https://cm.basic-company-unicorn.localhost/sitecore and perform a site smart publish. Use "admin" and the password you specified on init ("b" by default).
For the Products page to work, you'll also need to Populate Solr Managed Schema and rebuild indexes from the Control Panel. You may also need to
docker-compose restart cddue to workaround an issue with the Solr schema cache on CD.ad
You should now be able to view the Basic Company site at https://www.basic-company-unicorn.localhost.
When you're done, stop and remove the containers using the following command.
docker-compose down