diff --git a/README.md b/README.md index d99e49f..a150e39 100644 --- a/README.md +++ b/README.md @@ -20,3 +20,14 @@ The **eShopOnWeb** is related to the [eShopOnContainers](https://github.com/dotn - Testing ASP.NET Core MVC Apps - Development Process for Azure-Hosted ASP.NET Core Apps - Azure Hosting Recommendations for ASP.NET Core Web Apps + +## Running the sample + +After cloning or downloading the sample you will need to run its Entity Framework Core migrations before you will be able to run the app. To do so, open a command prompt in the Web folder and execute the following commands: + +``` +dotnet restore +dotnet ef database update --context Microsoft.eShopWeb.Infrastructure.CatalogContext +``` + +**NOTE** The application uses a separate DbContext for its authentication system, which is not yet complete. \ No newline at end of file diff --git a/src/Infrastructure/Infrastructure.csproj b/src/Infrastructure/Infrastructure.csproj index c2c8f95..7f9b47e 100644 --- a/src/Infrastructure/Infrastructure.csproj +++ b/src/Infrastructure/Infrastructure.csproj @@ -4,18 +4,23 @@ netstandard1.4 - - - - - - - - + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Web/Web.csproj b/src/Web/Web.csproj index 1fdbf6e..745b30e 100644 --- a/src/Web/Web.csproj +++ b/src/Web/Web.csproj @@ -12,18 +12,18 @@ - - - - - - - - - - - - + + + + + + + + + + + + @@ -36,5 +36,10 @@ + + + + + diff --git a/tests/FunctionalTests/FunctionalTests.csproj b/tests/FunctionalTests/FunctionalTests.csproj index fbb8fcb..a46954d 100644 --- a/tests/FunctionalTests/FunctionalTests.csproj +++ b/tests/FunctionalTests/FunctionalTests.csproj @@ -8,7 +8,7 @@ - + diff --git a/tests/IntegrationTests/IntegrationTests.csproj b/tests/IntegrationTests/IntegrationTests.csproj index ba2269b..c9ee0d0 100644 --- a/tests/IntegrationTests/IntegrationTests.csproj +++ b/tests/IntegrationTests/IntegrationTests.csproj @@ -8,7 +8,7 @@ - + diff --git a/tests/UnitTests/UnitTests.csproj b/tests/UnitTests/UnitTests.csproj index 18ba44b..b978920 100644 --- a/tests/UnitTests/UnitTests.csproj +++ b/tests/UnitTests/UnitTests.csproj @@ -5,11 +5,11 @@ - - + + - +