This topic describes a first-time installation of Optimizely CMS 12 and Commerce 14 websites with the latest updates, with or without sample templates.
For installation instructions for CMS 11 and Commerce 13 and lower, see Installing Optimizely (CMS 11 and Commerce 13).
You can install the desired Optimizely products individually, with or without sample templates. This is useful if you want to explore each product and its components in more detail, or build a site from scratch with more control. You can also use the Optimizely Foundation reference architecture to get a solution with multiple products quickly up and running.
Before installing, check the System requirements for Optimizely to ensure that your installation environment has the required components and versions.
You can order a time-limited demo license for evaluation purposes—see Optimizely License Center (a license is not required when using IIS Express). You need a commercial Optimizely license for testing and production environments.
To start a new CMS or Commerce application, install the templates and (optionally the Command-Line Interface (CLI) tool):
dotnet new -i EPiServer.Templates
If you are using Visual Studio 2019 you need to specify a previous version when installing the templates. The latest version of the templates are targeting .NET 6, which Visual Studio 2019 doesn't support.
dotnet new -i Episerver.Templates::1.1.0
See also: dotnet new.
Each template contains a README file with instructions and if you find any issues or want to contribute to a template, visit https://github.com/episerver/content-templates.
The following templates contain a nuget.config file with the Optimizely NuGet feed containing Optimizely packages.
Create an empty site:
dotnet new epi-cms-empty
Create a sample site with Alloy templates
dotnet new epi-alloy-mvc
Create an Empty site:
dotnet new epi-commerce-empty
The Optimizely Command-line Interface (CLI) tool is optional, but makes it easy to create or update databases.
dotnet tool install EPiServer.Net.Cli --global --add-source https://nuget.optimizely.com/feed/packages.svc
dotnet-episerver create-cms-database <project> dotnet-episerver create-commerce-database <project> dotnet-episerver update-database <project>
Updated 5 days ago