/front-end

Primary LanguageHTMLApache License 2.0Apache-2.0

Build Status

Front-end app

Front-end application written in Node.js that puts together all of the microservices under microservices-demo.

Build

Dependencies

Name Version
Docker = 1.11.2

example: docker-image-name:version-tag --> sockshop-frontend-service:0.7.0-SNAPSHOT

Step1:

git clone git@github.com:huawei-microservice-demo/front-end.git

Step2:

cd front-end

Step3: Build the docker image

docker build --no-cache=true -t [docker-image-name:version-tag] .

Step4: Tag the image with service stage

docker tag [docker-image-name:version-tag] registry.cn-north-1.hwclouds.com/[service-stage-username]/[docker-image-name:version-tag]

Step5: Docker login

docker login -u [username] -p [private-key] [registry-name]

Step6: Docker push

docker push registry.cn-north-1.hwclouds.com/[service-stage-username]/[docker-image-name:version-tag]

Step7:

Login to the service and get the ip address / domain to open microservice in browser