Skip to content

Commit 02a1e78

Browse files
Updated docs to install Node (npm) so can install Bower and Gulp needed for the MVC app, until this is triggered from the .CSPROJ file as we were doing from the PROJECT.JSON in the MVC app
1 parent 13a7628 commit 02a1e78

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,13 @@ If you don't do this, you will get an error when trying to deploy/debug from VS
100100
#### Bower and Gulp global installation
101101
(These steps about installing bower and gulp might not be needed anymore as these are being triggered from the project.json in the MVC project at the section 'prepublish":'). However, this will need to be migrated to .csproj when migrating to VS 2017. <p>
102102
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-images.ps1 script from PowerShell or the build-images.sh from bash in a Mac), 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:
103+
- Install Node if you don't have it installed, from here: https://nodejs.org/en/
104+
<img src="img/Node_setup_for_npm.png">
105+
- Install Bower and Gulp with the following npm commands (npm is installed as part of Node)
103106

104-
`npm install -g bower`
107+
`npm install -g bower`
105108

106-
`npm install -g gulp`
109+
`npm install -g gulp`
107110

108111
Below you can see how those commands are run in Windows:
109112
<img src="img/Bower_and_Gulp_setup.png">

img/Node_setup_for_npm.png

49.3 KB
Loading

0 commit comments

Comments
 (0)