HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityLog In

Installing Optimizely (.NET 5)

This topic describes a first-time installation of Optimizely CMS 12 and Commerce 14 websites with the latest updates, with or without sample templates.

This topic describes a first-time installation of Optimizely CMS 12 and Commerce 14 websites with the latest updates, with or without sample templates.

ūüďė

Note

For installation instructions for CMS 11 and Commerce 13 and lower, see Installing Optimizely (CMS 11 and Commerce 13).

Prerequisites

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.

ūüďė

Note

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

See also: dotnet new. 

ūüďė

Note

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.

Optimizely NuGet feed

The following templates contain a nuget.config file with the Optimizely NuGet feed https://api.nuget.optimizely.com/v3/index.json containing Optimizely packages. 

Installing Content Cloud (CMS 12)

Create an empty site:

dotnet new epi-cms-empty

Create a sample site with Alloy templates

dotnet new epi-alloy-mvc

Installing Commerce

Create an Empty site:

    dotnet new epi-commerce-empty

Command-Line Interface tool

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

Example commands:

dotnet-episerver create-cms-database <project>‚Äč
dotnet-episerver create-commerce-database <project>‚Äč
dotnet-episerver update-database <project>

Related topics


Did this page help you?