Updated VS 2017 setup MD with SPA step

Cesar De la Torre 2017-02-22 13:55:17 -08:00
parent fdc08eb650
commit f70f7828bb
4 changed files with 9 additions and 1 deletions

@ -2,6 +2,6 @@
"ExpandedNodes": [
""
],
"SelectedNode": "\\06.-Setting-the-Web-SPA-application-up.md",
"SelectedNode": "\\Home.md",
"PreviewInSolutionExplorer": false
}

Binary file not shown.

Binary file not shown.

@ -97,6 +97,14 @@ Below you can see the full **eShopOnContainers-ServicesAndWebApps.sln** solution
Note how VS 2017 loads the docker-compose.yml files in a special node-tree so it uses that configuration to deploy/debug all the containers configured, at the same time into your Docker host.
#### Build the Web SPA application with NPM
If you want to run/test the web eShopOnContainers SPA (Single Page Application) client in adition to the regular MVC Web app, you need to install certain dependencies for the client side and build it with "npm build", as the client side of the SPA app is based on ANGULAR 2, TypeScript and other JS frameworks and compilation that needs to happen before building the Docker images.
The process is described in detail here:
https://github.com/dotnet/eShopOnContainers/wiki/06.-Setting-the-Web-SPA-application-up
Come back to this point when you finished with the "Setting the SPA up" process.
#### Build and run eShopOnContainers from Visual Studio 2017
##### Set docker-compose as the default StartUp project