From f4bfc81fe8b884c35823dc1e458047c9aa87cfd8 Mon Sep 17 00:00:00 2001 From: Steve Smith Date: Sat, 25 Jul 2020 17:04:23 -0400 Subject: [PATCH] Updating README with running the sample instructions --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c8d9742..6aae128 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,8 @@ After cloning or downloading the sample you should be able to run it using an In ![eShopOnWeb home page screenshot](https://user-images.githubusercontent.com/782127/88414268-92d83a00-cdaa-11ea-9b4c-db67d95be039.png) +Most of the site's functionality works with just the web application running. However, the site's Admin page relies on Blazor WebAssembly running in the browser, and it must communicate with the server using the site's PublicApi web application. You'll need to also run this project. You can configure Visual Studio to start multiple projects, or just go to the PublicApi folder in a terminal window and run `dotnet run` from there. Note that if you use this approach, you'll need to stop the application manually in order to build the solution (otherwise you'll get file locking errors). + If you wish to use the sample with a persistent database, you will need to run its Entity Framework Core migrations before you will be able to run the app, and update the `ConfigureServices` method in `Startup.cs` (see below). You can also run the samples in Docker (see below).