You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
4 years ago | |
|---|---|---|
| .. | ||
| dev-cert | 4 years ago | |
| docker | 4 years ago | |
| k8s | 4 years ago | |
| README.md | 4 years ago | |
README.md
Pre-requirements
- Docker Desktop with Kubernetes enabled
- Install NGINX ingress for k8s OR
- Install NGINX ingress using helm
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm repo update
helm install ingress-nginx ingress-nginx/ingress-nginx
- Install Helm for running helm charts
How to run?
- Add entries to the hosts file (in Windows:
C:\Windows\System32\drivers\etc\hosts):
127.0.0.1 eshop-st-web
127.0.0.1 eshop-st-public-web
127.0.0.1 eshop-st-authserver
127.0.0.1 eshop-st-identity
127.0.0.1 eshop-st-administration
127.0.0.1 eshop-st-basket
127.0.0.1 eshop-st-catalog
127.0.0.1 eshop-st-ordering
127.0.0.1 eshop-st-payment
127.0.0.1 eshop-st-gateway-web
127.0.0.1 eshop-st-gateway-web-public
- Run
build-images.ps1in thescriptsdirectory. - Run
deploy-staging.ps1in thehelm-chartdirectory. It is deployed with theeshopnamespace. - You may wait ~30 seconds on first run for preparing the database.
- Browse https://eshop-st-public-web for public and https://eshop-st-web for web application
- Username:
admin, password:1q2w3E*.