diff --git a/04.-Setting-eShopOnContainer-solution-up-in-a-Mac,-VS-for-Mac-or-with-CLI-environment--(dotnet-CLI,-Docker-CLI-and-VS-Code).md b/04.-Setting-eShopOnContainer-solution-up-in-a-Mac,-VS-for-Mac-or-with-CLI-environment--(dotnet-CLI,-Docker-CLI-and-VS-Code).md index 0ea95b2..d6659f2 100644 --- a/04.-Setting-eShopOnContainer-solution-up-in-a-Mac,-VS-for-Mac-or-with-CLI-environment--(dotnet-CLI,-Docker-CLI-and-VS-Code).md +++ b/04.-Setting-eShopOnContainer-solution-up-in-a-Mac,-VS-for-Mac-or-with-CLI-environment--(dotnet-CLI,-Docker-CLI-and-VS-Code).md @@ -183,15 +183,30 @@ You can build the application using your local Mac machine. You'll need the fol prerequisites installed, in addition to those listed above for building using the CI container. - *[.NET Core and SDK](http://dot.net)* - - *[Node and NPM](http://nodejs.org)* + - *[Node and NPM](http://nodejs.org)* - Just needed in order to install NPM. - *Bower* ($ npm install -g bower) needed by the MVC web app. -Install the following software versions: +### Install .NET Core 2.0 or later - - [.NET Core 2.0 SDK or later, for Mac](https://www.microsoft.com/net/core#macos) - - [NodeJS 6.11.5 or latest Long Term version](https://nodejs.org/en/) +Install [.NET Core 2.0 SDK or later, for Mac](https://www.microsoft.com/net/core#macos) as shown in the image: - We've included a bash script that runs all the dotnet build commands on your local Mac. +![image](https://user-images.githubusercontent.com/1712635/32024981-4ad97e7c-b993-11e7-8469-8d6d5b7eab65.png) + +### Install Node (needed so it installs NPM) + +In order to be able to build the JavaScript dependencies from command line by using NPM you need to install npm globally. + +NPM is bundled with NODE.JS. Installing NPM and NODE is pretty straightforward by using the installer package available at https://nodejs.org/en/ + +Install [NodeJS 6.11.5 LTS or latest Long Term Service version](https://nodejs.org/en/) + +You can see the installed NPM version with the command npm -v, as shown below. + +![image](https://user-images.githubusercontent.com/1712635/32025172-0e394dd4-b994-11e7-9e32-112cf9f5eb26.png) + +### Build the eShopOnContainers .NET binaries with 'dotnet publish' + +You could generate the binaries manually, with 'dotnet publish', but for your convenience, we've included a bash script that runs all the 'dotnet publish' commands on your local Mac and generates the bits in the right folders expected by Docker and Visual Studio, if you use VS with the same solution, eventually. Using the bash windows, navigate to your eShopOnContainers directory, and cd into the *cli-mac* directory. Then, run the build script: