Skip to content

Instantly share code, notes, and snippets.

@ardalis
Created December 9, 2020 04:32
Show Gist options
  • Save ardalis/4a107ac7866ee34ba612e9d64850de51 to your computer and use it in GitHub Desktop.
Save ardalis/4a107ac7866ee34ba612e9d64850de51 to your computer and use it in GitHub Desktop.
DDD Patterns Lab setup
# https://github.com/ardalis/eshoponweb
# From a cmd prompt (not powershell) in C:\labfiles\eshoponweb\src\Web> run these commands one by one:
dotnet tool restore
SET ASPNETCORE_ENVIRONMENT=Production
dotnet ef database update -c catalogcontext -p ../Infrastructure/Infrastructure.csproj -s Web.csproj
dotnet ef database update -c appidentitydbcontext -p ../Infrastructure/Infrastructure.csproj -s Web.csproj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment