This is an automated email from the ASF dual-hosted git repository.

littlecui pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-servicecomb-service-center.git


The following commit(s) were added to refs/heads/master by this push:
     new 1c0bdcf  CB-90 Failed to deploy frontend Service center on Huawei 
Cloud (#256)
1c0bdcf is described below

commit 1c0bdcf3d8f56f173620f403ee6125c36f97e762
Author: Joseph Vazhappilly <[email protected]>
AuthorDate: Mon Jan 22 15:03:35 2018 +0530

    CB-90 Failed to deploy frontend Service center on Huawei Cloud (#256)
    
    * Update README for the frontend
---
 scripts/docker/build-frontend-image/README.md | 27 +++++++++++++++++++--------
 1 file changed, 19 insertions(+), 8 deletions(-)

diff --git a/scripts/docker/build-frontend-image/README.md 
b/scripts/docker/build-frontend-image/README.md
index b433c49..ec47673 100644
--- a/scripts/docker/build-frontend-image/README.md
+++ b/scripts/docker/build-frontend-image/README.md
@@ -1,16 +1,27 @@
-## Service-Center support for build docker image
+## Service Center Frontend
 
-This script helps you to make the docker image of service-center frontend  
present in your current working directory.
-
-The start_linux.sh will be the entrypoint for the docker container to start.
+This script helps you to make the docker image of service-center frontend 
present in "PROJECT_ROOT/frontend" folder. Where PROJECT_ROOT is project's top 
level folder. The script file "PROJECT_ROOT/scripts/frontend/start_linux.sh" 
will be the entrypoint for docker container.
 
 ### How To Run
 
-This script assumes you have already downloaded all the dependencies using 
'gvt restore'.
+This script assumes you have already downloaded all the dependencies using 
'gvt restore'. Make sure service-center application is running and get 
service-center applications IP and PORT addresses.
+
+Update "PROJECT_ROOT/frontend/conf/app.conf" with service-center applications 
IP and PORT address.
+
+Example app.conf file,
+
+       SC_HOST_IP=123.123.123.123
+       SC_HOST_PORT=30100
+       SC_HOST_MODE=http
+       FRONTEND_HOST_IP=0.0.0.0
+       FRONTEND_HOST_PORT=30103
+
+Then build docker image of frontend from folder 
"PROJECT_ROOT/scripts/docker/build-frontend-image/".
 
     bash -x build.sh
     
-Once the script finishes you will see image scfrontend-dev.tgz in the same 
directory. 
-Load this image to the docker and start using.
+Once the script finishes you will see image scfrontend-dev.tgz in the same 
directory. You can use this this image to load the docker and start using. Run 
following command, open Web Browser and connect to URL "http://<HOST_IP>:30103" 
to view frontend UI.
+
+    docker run -d -p 30103:30103 -t servicecomb/scfrontend
 
-    docker run -d -p 30101:30103 -t servicecomb/scfrontend
+Where HOST_IP is the ip of host machine where docker container for frontend is 
executing.

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to