Manoj Kumawat
+4
Mar 21, 2022
visibility 3114
star star star star star
(2 votes)

Updated commands to install Commerce14 and CMS12

This is the most recent exception that I got while installing Commerce 14 on local. I followed following commands to install it - 

dotnet-episerver create-cms-database FirstCore.csproj -S . -E
dotnet-episerver create-commerce-database FirstCore.csproj -S . -E --reuse-cms-user
dotnet-episerver add-admin-user FirstCore.csproj -u username -p password -e user@email.com -c EcfSqlConnection

I had setup everything but databases were empty with following exception 

Both the databases were empty (CMS, Commerce) and no schemas were present. I opened a forum request here and looks like the current documentation is outdated. 

For making it work with old commands there is an additional command that you follow and specify .NET standard version - 

dotnet add "[PROJECTNAME].csproj" package System.Configuration.ConfigurationManager -v 5.0.0

New commands with Optimizely Templates

dotnet new -i Episerver.Templates
dotnet new epi-commerce-empty
dotnet new epi-cms-empty
dotnet run

Credits to Mari and Chris

Mar 21, 2022

Comments

error Please login to comment.
Latest blogs
Copies vs. Connections: Modeling Content Areas for Multilingual Success

Starting With the Simple Question Most multilingual content modeling conversations start with a deceptively simple question from a client: "If we s...

Vipin Banka | Aug 23, 2026

Content Transfer coming to Optimizely SaaS CMS

Back in June I released Content Transfer on the Optimizely nuget feed – today I’m releasing version 1.0 , because we’ve had it running out in the...

Matt Pallatt | Aug 23, 2026

Improving Optimizely Product Information in LLM Tools

Tools like Claude Code can be great for working with Optimizely CMS, but when they index outdated or incomplete information about developing a...

Nicholas Sideras | Aug 21, 2026 |

How to Get a Bacpac Out of DXP (And Never Do It By Hand Again)

Every Optimizely DXP project eventually runs into the same task: getting production data onto a local machine so you can actually troubleshoot...

KennyG | Aug 20, 2026