Modules and Alloy Templates
The steps below are required if you are planning to do development on an EPiServer CMS (versions 7/7.1) website with the Alloy Templates, and with additional modules such as EPiServer CMO and Live Monitor installed.
The Alloy Templates installer applies required configuration changes, and copies all existing configuration files in the site root folder to the <YourSiteRoot>\[Configuration]\EPiServer\ subfolder.
These files typically are:
- Web.Config
- EPiServerFramework.config
- connectionStrings.config
- episerver.config
- EPiServerLog.config
- FileSummary.config
When the Alloy Templates project is built by Visual Studio or from the command line, it overwrites configuration files placed in the site root folder. The configuration files are reconstructed during the build by applying a series of configuration transformations to the base configuration files.
The configuration transformation files are located in subfolders of <YourSiteRoot>\[Configuration]\ folder. The base configuration files are stored in <YourSiteRoot>\[Configuration]\EPiServer\ folder.
In order not to loose configuration changes after a build, ensure to always add it in the form of configuration transformation files, or place your changes in the base files.
Installation Order for Modules and Alloy Templates
To install modules on a new EPiServer CMS site together with the Alloy Templates, do the installation in the following order:
- Install an empty EPiServer CMS site.
- Install all required modules (Live Monitor, CMO).
- Install the Alloy Templates.
To install modules to an existing EPiServer CMS site with the Alloy Templates, do the installation in the following order:
- Copy all configuration files from the <YourSiteRoot>\[Configuration]\EPiServer\ to the site root folder.
- Install all required modules (Live Monitor, CMO).
- Copy back all configuration files from the site root folder to the <YourSiteRoot>\[Configuration]\EPiServer\.
- Rebuild the Alloy Templates project.