You’re a Sitecore developer and want to know how to implement the website(s) using standard Sitecore MVC on Sitecore Experience Platform 9.2 Initial Release (aka Sitecore XP 9.2.0) and following Helix architecture principles.

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

Setup Preresiquites

it’s configured for HTTPS/SSL only

only Windows 10

Visual Studio 2017 (version 15.7 or later) Note: Visual Studio 2017 Version 15.7 and later supports migrating a project from the packages.config management format to the PackageReference format, click here to learn more about it

Url Rewrite 2.1

Step-by-step Guide

install the ones below if not yet 😀 a fresh Sitecore XP 9.2.0 instance , let’s say corporate . habitathome.local and corporate.habitathome.xconnect.local (xConnect site)

. and (xConnect site) Url Rewrite 2.1 download or clone the git repo from Habitat Home Corporate 9.2.0 ensure that you create an HTTPS binding with appropriate self-signed certificate

Note 1: 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 “corporate.habitathome.local” -RootDnsName “DO_NOT_TRUST_SitecoreDemo”

Note 2: if you see something like New-SelfSignedCertificate : CertEnroll::CX509Enrollment::_CreateRequest: The time period is invalid. 0x80630705 , you will have to use the new root certificate (Ex: DO_NOT_TRUST_NewSitecoreDemo)

,

Note 3: if you see something like The term ‘Add-WebFeatureSSL’ is not recognized as the name of a cmdlet, function, script file, or operable program you will have to execute Install-Module SitecoreFundamentals



otherwise, you’re gonna see the following issue later when performing “Sync-Unicorn” build task

Note: I don’t want to use the default settings so I need to adjust the appropriate values in cake-config.json



\src\Project\HabitatHomeCorporate\code\App_Config\Include\Project\HabitatHome.Corporate.Website.config deploy Sitecore.HabitatHome.Corporate launch PowerShell as an administrator

change directory to \Sitecore.HabitatHome.Corporate

execute .\build

hopefully everything runs well and then you would see something like this open a browser and then navigate to https://corporate.habitathome.local/, you would see something like this

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!