Sitecore Courier

Why Sitecore Courier?

Sitecore Courier aims to fill the gap between the development and production environments when building websites with Sitecore CMS. It lets you build Sitecore Update packages automatically, by analyzing serialized Sitecore items and packaging only changed items.

Using the Sitecore Courier Utility

There are multiple way you can use this utility.

  • The module can be installed as a Sitecore package. You can download the package from MarketPlace.
  • You can run the exe through Console Runner, by downloading the code from here.
  • You can also installed module through chocolatey, For More Information click here.

Configuring Sitecore Courier

  • Open Visual Studio, and download the source code from this link.
  • Replace the Sitecore dll with your Sitecore Website dll in the Lib folder.
  • Build the Solution.
  • Right Click on Web project and publish the Solutions.

courier

  • After you publish the solution, add the following to the configSections section of web.config:

<section name=”sitecorediff” type=”Sitecore.Update.Configuration.ConfigReader, Sitecore.Update”/>

Courier_Config

And the following to the <configuration> section (right above <sitecore database=”SqlServer”>)

  • Open the $website/PackageGenerationWizard.aspx. You will get the below screen

2

  • Currently Source folder is empty, that why it has added all the element from Target folder.
    • Click on Generate Button, It will create the *.Update in $Website/Temp folder. Also the “Download Package” link is provide at the bottom.

3

  • Using Console Runner.exe

    • You will find the Courier.Runner.exe in console Project of Bin folder.
    • Copy all the sitecore.dll from Lib into Bin Folder or also you can you copy the below file in separate folder

4

  • Call the below command in Command Prompt In administrator Mode. Courier.Runner.exe -s C:\Source -t C:\Target -o C:\Package.update

-s – Source folder

-t – Target folder

-o – Output package

References

https://github.com/adoprog/Sitecore-Courier

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com 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.