Front-end application written in Node.js that puts together all of the microservices under microservices-demo.
Name | Version |
---|---|
Docker | = 1.11.2 |
example: docker-image-name:version-tag --> sockshop-frontend-service:0.7.0-SNAPSHOT
git clone git@github.com:huawei-microservice-demo/front-end.git
cd front-end
docker build --no-cache=true -t [docker-image-name:version-tag] .
docker tag [docker-image-name:version-tag] registry.cn-north-1.hwclouds.com/[service-stage-username]/[docker-image-name:version-tag]
docker login -u [username] -p [private-key] [registry-name]
docker push registry.cn-north-1.hwclouds.com/[service-stage-username]/[docker-image-name:version-tag]
Login to the service and get the ip address / domain to open microservice in browser