We can install the Sitecore modules e.g. JSS, SXA, SPE or any other module using Azure ARM templates while installing a new Sitecore environment in Azure PaaS.
Wondering why we need to do this?
To setup a Sitecore application server by single click using CICD, we cannot depend on manual installation of Sitecore modules as a post-installation step after Sitecore setup.
How we do this?
We need to-
- Download the wdp file (not zip package) for JSS module and store it in Azure storage (wdp available at - https://dev.sitecore.net/Downloads/Sitecore_JavaScript_Services/120/Sitecore_JavaScript_Services_1200.aspx)
- Add a snippet with JSS module details in azure.parameters.json (described in the links below)
- https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/blob/master/MODULES.md
- https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/tree/master/JSS%2012.0.0/xp
Prerequisite - Bootloader module snippet need to be included in azure.parameters.json as well for this to work.
We also have a second option which is including the JSS module files in source control and releasing the module in new environment during code release but let’s save that for later :) (This is explained in following stackoverflow link really well - https://sitecore.stackexchange.com/questions/13980/sitecore-deployment-with-new-modules)
Thank you for your read :) Please suggest improvements in comments.
Comments
Post a Comment