0 Comments

I have to admit that the most painful process for setting up Sitecore solution is to configure CD/CM on each of the environments, and most worse case is you will have to do it again and again.  It’s not only time consumed, but also causing unexpected errors if you accidently disabled configuration which shouldn’t have been disabled. Then you will be like this

image

It could take up to an hour to configure each of the server. Imagine you have UAT (CDx2 and CM), PROD (CDx2 and CM), then you will probably spend half day just configuring these files.

Therefore, I decided to create a PowerShell script to automate the whole process.  Here is the example, but you can find the entire script on Github.

The current script is for Sitecore 8.2.2 based on Sitecore official documentation, I will continuously update the script to support more version of Sitecore.  If you think it’s a good idea and also would like to contribute for specific version,  please feel free to make a pull request.

The “SCRIPT SETTINGS” is global settings, you can integrate with Octopus variables for automatically configure different environments.

Post comment