Browse Source

Folder to place the WebMonolithic app into

pull/50/head
Cesar De la Torre 8 years ago
parent
commit
b7d91a6e32
2 changed files with 12 additions and 1 deletions
  1. +3
    -1
      README.md
  2. +9
    -0
      src/Web/WebMonolithic/Readme.txt

+ 3
- 1
README.md View File

@ -97,11 +97,13 @@ If you don't do this, you will get an error when trying to deploy/debug from VS
<img src="img/docker_settings_shared_drives.png">
#### Bower and Gulp global 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 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>
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:
- Install Node if you don't have it installed, from here: https://nodejs.org/en/
<img src="img/Node_setup_for_npm.png">
- After you install Node, 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>
**Go to "Tools -> Options -> Project and Solutions -> Web Package Management -> External Web Tools"** and ensure that the nodejs you use from command line is listed before the entry "$(VSINSTALLDIR)\Web\External"
- Install Bower and Gulp with the following npm commands (npm is installed as part of Node)
`npm install -g bower`


+ 9
- 0
src/Web/WebMonolithic/Readme.txt View File

@ -0,0 +1,9 @@
Let's create here the simplest monolithic MVC Web app with just the Home Page and ASP.NET Core MVC.
Please, don't say anything about "Containers" here.
From a "branding point of view" it should be named as "eShopWeb"
Cesar.

Loading…
Cancel
Save