Move/remove obsolete folders
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB |
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 62 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 71 KiB |
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 57 KiB |
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 78 KiB |
8
deploy/k8s/README.md
Normal file
@ -0,0 +1,8 @@
|
||||
# Kubernetes deployment
|
||||
|
||||
This folder contains the files required to deploy eShopOnContainers to a Kubernetes cluster.
|
||||
|
||||
For more information see the following articles in the [wiki](https://github.com/dotnet-architecture/eShopOnContainers/wiki):
|
||||
|
||||
- [Deploy to Local Kubernetes](https://github.com/dotnet-architecture/eShopOnContainers/wiki/Deploy-to-Local-Kubernetes)
|
||||
- [Deploy to Azure Kubernetes Service (AKS)](https://github.com/dotnet-architecture/eShopOnContainers/wiki/Deploy-to-Azure-Kubernetes-Service-(AKS))
|
Before Width: | Height: | Size: 123 KiB |
Before Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 152 KiB |
Before Width: | Height: | Size: 82 KiB |
Before Width: | Height: | Size: 111 KiB |
Before Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 112 KiB |
Before Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 198 KiB |
Before Width: | Height: | Size: 162 KiB |
Before Width: | Height: | Size: 103 KiB |
Before Width: | Height: | Size: 120 KiB |
Before Width: | Height: | Size: 106 KiB |
Before Width: | Height: | Size: 405 KiB |
Before Width: | Height: | Size: 358 KiB |
Before Width: | Height: | Size: 460 KiB |
Before Width: | Height: | Size: 427 KiB |
Before Width: | Height: | Size: 334 KiB |
Before Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 242 KiB |
Before Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 736 KiB |
Before Width: | Height: | Size: 230 KiB |
Before Width: | Height: | Size: 247 KiB |
Before Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 66 KiB |
Before Width: | Height: | Size: 9.0 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 66 KiB |
Before Width: | Height: | Size: 94 KiB |
BIN
img/new-folder-structure.png
Normal file
After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 101 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 175 KiB |
Before Width: | Height: | Size: 82 KiB |
Before Width: | Height: | Size: 177 KiB |
Before Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 135 KiB |
Before Width: | Height: | Size: 289 KiB |
Before Width: | Height: | Size: 282 KiB |
Before Width: | Height: | Size: 49 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 45 KiB |
@ -1,47 +0,0 @@
|
||||
# eShop Web SPA (Single Page Application)
|
||||
|
||||
## Requirements and set up
|
||||
|
||||
### Install NPM
|
||||
The SPA application is using a newer version of NPM than the one provided by Visual Studio 2015 (npm 2.7.4 currently), so you need to install the latest stable version of NPM.
|
||||
|
||||
NPM is bundled with NODE.JS. Installing NPM and NODE is pretty straightforward by using the installer package available at https://nodejs.org/en/
|
||||
|
||||
<img src="../../../img/spa/installing_npm_node.png">
|
||||
|
||||
You can install the version "Recommended For Most Users" of Node which at the moment of this writing was v6.9.3 LTS and comes with a newer version of NPM.
|
||||
You can see your initial NPM version and the installed NPM version with the command
|
||||
<b>npm -v</b>, as shown below.
|
||||
<p>
|
||||
<img src="../../../img/spa/npm-versions-powershell.png">
|
||||
|
||||
### Set NPM path into Visual Studio
|
||||
NPM will be usually installed under this path:
|
||||
<b>C:\Program Files (x86)\nodejs</b>.
|
||||
You need to update that path in Visual Studio 2015 under the "External Web Tools" location paths, as shown below:
|
||||
<p>
|
||||
<img src="../../../img/spa/vs-tools-path-custom-node.png">
|
||||
|
||||
### Build the SPA app with NPM
|
||||
Finally, you need to build the SPA app (TypeScript and Angular based client app) with NPM.
|
||||
* Open a command-prompt window and move to the root of the SPA application (src\Web\WebSPA\eShopOnContainers.WebSPA)
|
||||
* Run the command <b>npm run build:prod</b> as shown below:
|
||||
<p>
|
||||
<img src="../../../img/spa/npm-run-build.png">
|
||||
|
||||
If you get an error like <b>"Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 6.x"</b>, then run the command <b>npm rebuild node-sass</b> as in the following screenshot:
|
||||
<img src="../../../img/spa/npm-rebuild-node-sass.png">
|
||||
Then, run again the <b>npm run build:prod</b> command that should finish with no errors.
|
||||
|
||||
### Build/create the Docker images
|
||||
Create the Docker images with the <b>build-images.ps1</b> PowerShell script in Windows (or the <b>build-images.sh</b> bash script in a Mac) as explained in the main instructions at https://github.com/dotnet/eShopOnContainers/
|
||||
|
||||
### Deploy/run the Docker containers
|
||||
Deploy/run the Docker containers with <b>"docker-compose up"</b> as explained in the main instructions at https://github.com/dotnet/eShopOnContainers/
|
||||
|
||||
### Test the SPA web application
|
||||
|
||||
Test the SPA app by running the following URL in a browser:
|
||||
<b> http://localhost:5104</b>
|
||||
|
||||
|