Try our conversational search powered by Generative AI!

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

How to add a custom property in Optimizely Graph

In the Optimizely CMS content can be synchronized to the Optimizely Graph service for it then to be exposed by the GraphQL API. In some cases, you...

Ynze | May 9, 2024 | Syndicated blog

New Security Improvement released for Optimizely CMS 11

A new security improvement has been released for Optimizely CMS 11. You should update now!

Tomas Hensrud Gulla | May 7, 2024 | Syndicated blog