Minor update to the CLI procedure when installing Bower for the MVC app

Cesar De la Torre 2017-02-22 19:21:57 -08:00
parent 5adb4a437b
commit dae6a80159
4 changed files with 2 additions and 3 deletions

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

Binary file not shown.

Binary file not shown.

@ -65,8 +65,7 @@ Run the setup like in the following screenshot:
<img src="img/netcore-sdk-11-installer.png"> <img src="img/netcore-sdk-11-installer.png">
### Node, Bower and Gulp installation ### Node, Bower and Gulp installation
(These steps about installing bower and gulp might not be needed anymore as these are being triggered from the .csproj file in the MVC project at the "PrepublishScript" section). <p> Before building the .NET and JS bits, and specifically when generating the web apps binaries with "dotnet build" and "dotnet publish" from the custom scripts (like when running the build-bits.ps1 script from PowerShell), it needs to have access to the paths where you have installed Bower and Gulp. For that, the recommendation is to install Bower and Gulp with a global installation by running the following commands from command-line or bash:
Before generating the Docker images, and specifically when generating the web apps binaries with "dotnet publish" from the custom scripts (like when running the build-bits.ps1 script from PowerShell), it needs to have access to the paths where you have installed Bower and Gulp. For that, the recommendation is to install Bower and Gulp with a global installation by running the following commands from command-line or bash:
- Install Node if you don't have it installed, from here: https://nodejs.org/en/ - Install Node if you don't have it installed, from here: https://nodejs.org/en/
<img src="img/Node_setup_for_npm.png"> <img src="img/Node_setup_for_npm.png">
- NOTE: After installing Node, **if you are also using the full Visual Studio 2017**, you need to align that installed version with the version used by Visual Studio, so you need to make sure that VS2017 is using the same nodejs that you are using from command line.<br> - NOTE: After installing Node, **if you are also using the full Visual Studio 2017**, you need to align that installed version with the version used by Visual Studio, so you need to make sure that VS2017 is using the same nodejs that you are using from command line.<br>