Website Development Company in Singapore
⟵ Resources

Sitecore XP 10.1.0 and SXA 10.1.0 Demo – Lighthouse – Setup Guide

Speed up sitecore banner

You’re a Sitecore developer and want to know how to implement the website(s) using Sitecore Experience Accelerator 10.1.0 (aka SXA 10.1.0) on Sitecore Experience Platform 10.1.0 (aka Sitecore XP 10.1.0) and following Helix principles.

If that is the case, you should set up the Sitecore demo – Lighthouse – on your machine so that you’re able to play around with the Sitecore solution example and then learn something.

Note: it can only be deployed inside Docker containers

Prerequisites

  • Windows 1809 or higher
  • >= 16 Gb of memory
  • Sitecore 10 license file located at C:licenselicense.xml
  • the latest Docker Desktop

Step-by-step Guide

  1. ensure to set up your docker environment by following https://doc.sitecore.com/xp/en/developers/101/developer-tools/set-up-the-environment.html
  2. ensure the Windows Docker engine experimental features are enabled (to allow the Linux smtp container to run at the same time as the Windows containers)
    • open Docker Desktop and then select Settings => Docker Engine
    • ensure the value of the "experimental" key is set to true
    • Docker engine is set to experimental for SC10.1.0
    • (optional) ensure the value of the "dns" key is set to ["8.8.8.8"] if any
    • click Apply & Restart button
    • DNS is 8.8.8.8 for SC10.1.0
  3. to avoid any conflicts, we should ensure the following ports are not being used by another process: 443, 8079, 8081, 8984, and 14330
    • stop IIS
      • Stop IIS server for SC10.1.0
    • stop windows services if any
    • quit Skype for sure
  4. download or clone the git repo from Sitecore Demo Platform 10.1.0 to D:ProjectsSitecore.Demo.Platform
  5. create certificates and initialize the environment file
    • open Windows PowerShell (run as administrator)
    • change directory to D:ProjectsSitecore.Demo.Platform
    • execute .init.ps1 -InitEnv -LicenseXmlPath C:licenselicense.xml -AdminPassword b
    • Adding hosts file and populating .env file for SC10.1.0
  6. pull the latest demo docker images
    • open Windows PowerShell (run as administrator)
    • change directory to D:ProjectsSitecore.Demo.Platform
    • execute docker-compose pull
    • Pulling and downloading components for SC10.1.0
    • hopefully will see something like this after a loooooooooooog operation
    • Pulling components done for SC10.1.0
  7. let’s spin up the container-based demo instances
    • open Windows PowerShell (run as administrator)
    • change directory to D:ProjectsSitecore.Demo.Platform
    • execute docker-compose up -d
    • Creating components for SC10.1.0
  8. open a browser, navigate to https://cd.lighthouse.localhost/, we would see the Lighthouse landing page with a full-width carousel and a valid SSL certificate
    • Show connection is secured
  9. open a browser, navigate to https://cm.lighthouse.localhost/sitecore, we should be able to login with the admin user and b password (by default, they’re provided in Step 5)
    • don’t forget to verify the Sitecore version
    • Sitecore.NET 10.1.0 license details
    • SXA version: access Sitecore item /sitecore/system/Settings/Foundation/Experience Accelerator/Upgrade/Current and then have a look at Version field
    • Showing version 11200 for SC10.1.0
  10. open a browser, navigate to http://127.0.0.1:44026/, we should the SMTP container catch-all mailbox for all emails sent by Email eXperience Manager (aka EXM)
    • Receiving all emails on port 25 for SC10.1.0

Notes

  1. for stopping the demo without losing the changes
    • open Windows PowerShell (run as administrator)
    • change directory to D:ProjectsSitecore.Demo.Platform
    • execute docker-compose stop
    • Stopping components for SC10.1.0
    • start the demo again by executing docker-compose start
    • Starting components for SC10.1.0
  2. for data cleanup
    • open Windows PowerShell (run as administrator)
    • change directory to D:ProjectsSitecore.Demo.Platform
    • execute docker-compose down
    • execute .CleanDockerData
    • Stopping and removing components for SC10.1.0

Happy Sitecore Demo!

This article originally appeared on Walking on clouds (https://buoctrenmay.com/).

Playing around with Sitecore 10 docker containers and my simple development framework version 3.0

How to restart Sitecore server via Sitecore user interface

Playing around with Sitecore 10.0.1 docker containers and my simple development framework version 3.1

Portfolios

Resources

Contact Us

Website Development Company in Singapore white logo
LowCarbonSG Logo
Terms & Conditions | Privacy Policy | Accessibility Statement

Apply Now!

Upload Resume (with a 2mb maximum file size)
Accepted file types: doc, docx, pdf, xps, Max. file size: 2 MB.
This field is for validation purposes and should be left unchanged.