Recently, I have introduced my simple framework to everyone. It looks OK to me and my friends / my colleagues so I’d like to write down some notes for building your own one based on it. Hopefully, this post will save your time.
- Download the latest source code here
- (Option 1) unzip archive.zip file above to D:\my-simple-framework (for instance) and then use PowerShell script to transform everything
- open Windows PowerShell (run as administrator)
- change directory to D:\my-simple-framework\scripts\Buildify
- execute .\transform -sourcePath “D:\my-simple-framework” -newIdentifier “YourClientName”
- (Option 2) an alternative way is to use some software products such as Bulk Rename Utility and Notepad++
- download Bulk Rename Utility and install it if not yet
- rename all the folders, all the files whose name contains VietHoang to YourClientName
- download Notepad++ and install it if not yet
- open it and press Ctrl + F to open “Find” dialog
- select Find in Files tab
- find VietHoang inside all the files in project folder then replace to YourClientName
- Open YourClientName.Sitecore.sln via Visual Studio and make sure you build it successfully
- Refer to Step-by-step Guide in order to add your own tweaks if necessary
- Note: for Docker way Sitecore version 9.3 => let’s generate SSL certificate as we want to access Sitecore sites with HTTPS protocol by using mkcert
- open Windows PowerShell (run as administrator)
- execute choco install mkcert
- change directory to D:\my-simple-framework\Docker\traefik\certs
- execute mkcert “*.YourClientName.local”
- Note: for Docker way Sitecore version 9.3 => let’s generate SSL certificate as we want to access Sitecore sites with HTTPS protocol by using mkcert
- Renew all default Sitecore items’ ID if possible so that it’s able to play with multiple Visual Studio solutions in shared Sitecore instance
- Renew all Assemblies’ Guid if possible so that it’s able to play around with multiple Visual Studio solutions on a shared Sitecore instance
My suggestions
- I highly recommend that you should install some Visual Studio extensions below as well:
- SlowCheetah – XML Transforms: it’s helpful for creating transform files
- File Nesting: it’s helpful for creating nest files
- SlowCheetah – XML Transforms: it’s helpful for creating transform files
- Take a look at this post How to know the changed files between the releases
Happy Sitecore Coding!
6 thoughts on “Notes for building your own Sitecore development framework based on my simple one”