Configure your existing Sitecore site to use
Sitecore Commerce 7.5, powered by Commerce Server and Commerce Server
11.1Sitecore
Commerce 7.5 powered by Commerce Server and Commerce Server 11.0 data
providers.
Complete the following prerequisites:
Note: If you the default port and names and folders under IIS you won’t need to
change the deployment scripts.
Note: During the deployment of the update
packages, the system will issue warnings and errors in deployment summary. It is
safe to disregard this information
At your development machine:
-
Download and install Sitecore Commerce Connect
from Sitecore Developers Network.
-
Download Sitecore Commerce Server Connect 7.5, MVCSite 7.5, and Sitecore
Merchandising Manager 7.5 update packages..
-
Download Deploy.zip.
-
Extract Deploy.zip to a temporary location.
-
Ensure your site variables are correct. Open and edit the
deployment\environment.xml file and edit the following
sections:
<Configuration identity="Domain.Dev.Existing">
<Configuration identity="Domain.Dev.Merge">
-
Ensure that the instanceName variable is set as your
Sitecore instance name, and the installDir variable
is correct. In the following example, the installDir
variable is pointing to
c:\inetpub\SitecoreInstance
<Variables>
<Variable identity="instanceName" value="SitecoreInstance" description="" />
<Variable identity="installDir" value="$(Join-Path -Path $INETPUB_DIRECTORY -ChildPath $instanceName)" description="" />
</Variables>
In the following example the installDir variable is changed
to c:\inetpub\wwwroot.
<Variable identity="installDir" value="$(Join-Path -Path $INETPUB_DIRECTORY\wwwroot -ChildPath $instanceName)" description="" />
-
Ensure that the SitecorePort variable is set
correctly. Use IIS Manager to determine your site settings.
<Variable identity="SitecorePort" value="7655" description="" />
-
Ensure that the scHostHeaderName variable is set
correctly. Use IIS Manager to determine your site settings.
<Variable identity="scHostHeaderName" value="SitecoreHost" description="" />
-
Ensure that the MONGO_EXE_PATH variable is set correctly. This variable
indicates the root path of the Mongo DB installation. The script,
Deploy-Mongo-Clean.ps1 uses this variable to locate the Mongo DB
executable to use for dropping the analytics databases.
<Variable identity="MONGO_EXE_PATH" value="C:\MongoDB" description="MongoDB Installation path" />
-
Set permissions to allow Sitecore Commerce 7.5, powered by Commerce Server and Commerce Server
11.1
to integrate with Sitecore
and unpup the sample site.
-
Open a Powershell window.
-
Change the execution policy.
Enter Set-ExecutionPolicy Unrestricted and
select Y.
-
Browse in the Powershell window to the location of the
Deploy.zip extraction folder.
-
Run the Deploy-UnPup.ps1 from the
Deploy.zip deployment folder.
-
Run the Deploy-Base-SC-Existing.ps1 from
the Deploy.zip deployment folder.
-
Install Commerce Connect.
-
At the Sitecore desktop, select .
-
Use the wizard to upload Sitecore Commerce
Connect.zip and follow all of the instructions to
install. If you are prompted to overwrite an existing item then you
should accept this option.
-
Install the Sitecore Commerce 7.5, powered by Commerce Server and Commerce Server
11.1
update packages.
-
Within a browser, browse to http://<your Sitecore
site>/sitecore/admin/UpdateInstallationWizard.aspx
.
-
Import the Commerce Server plug-in update package named
Sitecore Commerce Server Connect.update with
the Installation wizard.
-
Import the runtime site package named
MVCSite.update with the Installation
wizard.
-
Perform an IISReset.
-
Run the merge script.
Using powershell, run Deploy-Base-SC-Merge.ps1 from the
deploy.zip deployment folder to merge the config
files.
-
Update Windows performance groups.
Add the Sitecore application pool user into the two windows groups named
Performance Log Users and Performance Monitor
Users.
-
Change the Commerce Server site name on the
siteName attribute.
Note: You can skip this step if your site is called
SolutionStorefrontSite.
In the
Sitecore
web.config file, edit the
Sitecore Commerce 7.5, powered by Commerce Server and Commerce Server
11.1
site name on the siteName attribute of the application element to match the name
of the
Commerce Server
site.
<CommerceServer> <application siteName="YourCommerceSitename" debugLevel="Production" />
-
Publish the site to the Web.
-
Click
-
Open the setting screen
-
Ensure the Republish checkbox and the Languages
checkboxes are active, the click Publish.
-
Index the site.
-
Open the Index manager.
Click
-
Start the rebuild.
Check sitecore_master_index and the
sitecore_web_index , then click
Rebuild.
You are now setup to start developing and interacting with Commerce Server through
Sitecore.