installation

Sitecore XP 9.1.1 and SXA 1.8.1 Demo – Habitat Home – Step by step Setup Guide

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

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

Setup Preresiquites

Step-by-step Guide

  1. install the ones below if not yet 😀
  2. install all required Sitecore modules below via Installation Wizard
  3. publish your Sitecore Instance
    • This slideshow requires JavaScript.

  4. download or clone the git repo from Habitat Home Platform
  5. ensure that you create an HTTPS binding with appropriate self-signed certificate
    • Note: you can try creating the self-signed certificate and assign it to your site if not yet by executing the following PowerShell script
    • launch PowerShell as an administrator
    • Add-WebFeatureSSL -HostName “habitathome.local” -RootDnsName “DO_NOT_TRUST_SitecoreDemo”

    • This slideshow requires JavaScript.

    • otherwise, you’re gonna see the following issue later when performing “Sync-Unicorn” task
    • hh91_7
  6. Note: I don’t want to use the default settings so I need to adjust the appropriate values in cake-config.json
    • hh91_6
  7. deploy Sitecore.HabitatHome.Platform
    • launch PowerShell as an administrator
    • change directory to \Sitecore.HabitatHome.Platform
    • execute .\build
    • hh91_3.png
    • Note: you may get the following error while build task “Sync-Unicorn” is publishing items in queue to web , just execute .\build -Target “Post-Deploy” to resolve it
    • hh911_1
  8. hopefully everything runs well and then you would see something like this
    • hh911_2
  9. open a browser and then navigate to https://habitathome.local, you would see something like this
    • hh91_5
    • Note: you may see the default page of Sitecore website. That’s because you don’t use the host name habitathome.local so you need to correct it in Sitecore
      • log into https://habitathome.local/sitecore (Note: you may get Known Issue #1 below)
      • open Desktop -> PowerShell Toolbox -> SXA Site Manager dialog
      • hh902_3
      • select HabitatHome row and then click Open button on the top-right of SXA Site Manager dialog
      • update Host Name field to habitathome.local and Database field to master then click OK button to save
      • hh902_4.png
      • refresh https://habitathome.local

 

Note: some known issues

  1. Search function does NOT work as expected: No results

 

Got issues?

Please send your issues (with screenshots if possible) to viet.hoang.sitecore@gmail.com so that I have a chance to understand your problem and be able to suggest the solution.

Happy Sitecore Demo Installation!

 

 

2 thoughts on “Sitecore XP 9.1.1 and SXA 1.8.1 Demo – Habitat Home – Step by step Setup Guide

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.