World is now on Opti ID! Learn more

Manoj Kumawat
Mar 21, 2022
  2403
(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

Please login to comment.
Latest blogs
Optimizely Frontend Hosting: Deploy Without PowerShell Using the @kunalshetye/opticloud Package

In my last two blog posts, I walked through how to get started with deploying a headless app to Optimizely Frontend Hosting using PowerShell and th...

Szymon Uryga | Jul 15, 2025

New Administrator Certifications Are Here — 7 Ways to Get Certified with Optimizely

Not a developer but want to prove your product expertise? We’ve got great news. We’re thrilled to announce the expansion of Optimizely’s...

Satata Satez | Jul 15, 2025

Optimizely London Dev Meetup 10th July 2025

Overview & Agenda As 2025 rolled around this year it was time for another one of our much beloved developer meetups in London. This year, I took us...

Scott Reed | Jul 15, 2025

Optimizely Developer Meet-up (for Non-Techies)

I’ve been part of the Optimizely community for over seven years. Back when Episerver was still just “Epi”, Optimizely was the best A/B testing...

Mark Welland | Jul 14, 2025