Are you willing to set up Sitecore 10. x Next JSS without Docker?
- This blog will help you set up the Sitecore JSS application in the local environment without Docker.
Here are the instructions to install Sitecore 10.3 locally without dockers.
System Prerequisites:
Microsoft SQL Server 2017 or 2019.
SQL Server Management Studio (SSMS) Download SSMS https://learn.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-ver16
Steps to Install Sitecore:
- Download Sitecore Installer https://sitecoredev.azureedge.net/~/media/8F77892C62CB4DC698CB7688E5B6E0D7.ashx?date=20221130T160548
- Open SQL Server Management Studio and Run the following command in the query window, while the master database is selected
EXEC sp_configure 'contained', 1;
RECONFIGURE;
- Create Folder c:\Sitecore\v10.3 Copy the Zip file from step 1 in this folder and extract it.
- Copy the attached license and JSON files into this folder, if prompted to overwrite an existing file, Overwrite it.
- Run the Setup.exe file in folder
- Go through the wizard and install the pre-requisites first
- Follow the prompts in the Wizard. It will install Solr and Sitecore. unselect Sitecore Experience Accelerator(SXA) when prompted for optional modules
- Once Sitecore is installed in the last step of the wizard launch Sitecore to make sure your Sitecore Size is working
- Open Power Shell in administrator mode and switch to directory C:\Sitecore\v10.3\Sitecore 10.3.0 rev. 008463 (Setup XP0 Developer Workstation rev. 1.5.0-r11)
- Run the following commands one by one to create SSL certificates
- scinst -CertificateName cm.{sitename}.localhost
- scinst -CertificateName www. {sitename}.localhost
- scinst -CertificateName id. {sitename}.localhost
- Open Sitecore Site in IIS and add the following two bindings in it as shown
cm. {sitename}.localhost
www. {sitename}.localhost
- Open Sitecore Identity Server Site in IIS and add the following binding in it as shown
id. {sitename}.localhost
- Open the certificate manager by executing the command certlm.msc in Run
- Three certificates created in step 10 will be under Personal Certificates
- Select and Copy the two certificates and paste them Under Trusted Root Certificate Authority
- Open file C:\inetpub\wwwroot\[Sitecore Identity Server Site Name]\Config\production\Sitecore.IdentityServer.Host.xml
Remove or comment out the original entries sitecore during installation and add new entries as shown below
<PasswordRecoveryUrl>https://cm. {sitename}.localhost/sitecore/login?rc=1</PasswordRecoveryUrl>
<AllowedCorsOriginsGroup1>https://cm. {sitename}.localhost</AllowedCorsOriginsGroup1> - Open file C:\inetpub\wwwroot\[Sitecore Site Name]\App_Config\Sitecore\Owin.Authentication.IdentityServer\Sitecore.Owin.Authentication.IdentityServer.config
Remove or comment out the original entry Sitecore added for the identity server domain and this is shown below,
<sc.variable name="identityServerAuthority" value="https://id. {sitename}.localhost" />
- In the browser if you were already logged in to the Sitecore site close the browser and open a new window. Login to your Sitecore Site by going to URL https://cm. {sitename}.localhost/sitecore
- Download the Sitecore CLI package from the URL: https://dev.sitecore.net/Downloads/Sitecore_CLI/5x/Sitecore_CLI_5125.aspx and install it in Sitecore.
- Download the Sitecore JSS package from the URL: https://dev.sitecore.net/Downloads/Sitecore_Headless_Rendering/21x/Sitecore_Headless_Rendering_2101.aspx and install it in Sitecore