Try our conversational search powered by Generative AI!

Manoj Kumawat
Mar 21, 2022
  1694
(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
Do not upgrade to EPiServer.CMS.Core 12.21.4 without reading this!

Todays update of EPiServer.CMS.Core 12.21.4 alters default sort order in an unexpected way, when you are working with muligple languages and have...

Tomas Hensrud Gulla | May 14, 2024 | Syndicated blog

Upgrade Optimizely CMS From v11 to v12

Why Upgrade? There are many improvements implemented in version 12, but most importantly is that the whole framework is migrated from .Net Framewor...

MilosR | May 13, 2024

Configured Commerce - Infrastructure Updates Ahoy!

I'm very happy to share an important milestone - we no longer have any customers in our legacy v1 environment!  This means that the Configured...

John McCarroll | May 10, 2024

A day in the life of an Optimizely Developer - Enabling Opti ID within your application

Hello and welcome to another instalment of A Day In The Life Of An Optimizely developer, in this blog post I will provide details on Optimizely's...

Graham Carr | May 9, 2024