You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2020/02/27 10:28:50 UTC

[cloudstack-primate] 01/02: README: update production usage notes

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

rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git

commit 66a86ab53ad5d5f49fa92a64ebb8e1d539af4ce4
Author: Rohit Yadav <ro...@shapeblue.com>
AuthorDate: Thu Feb 27 09:53:19 2020 +0530

    README: update production usage notes
    
    Signed-off-by: Rohit Yadav <ro...@shapeblue.com>
---
 README.md | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 39efdde..fbd9a34 100644
--- a/README.md
+++ b/README.md
@@ -67,8 +67,16 @@ This creates a static webpack application in `dist/`, which can then be served
 from any web server or CloudStack management server (jetty).
 
 To use CloudStack management server (jetty), you may copy the built Primate build
-to a new/existing webapp directory on the management server host. If the webapp
-directory is changed, please change the `webapp.dir` in the
+to a new/existing webapp directory on the management server host. For example:
+
+    npm install
+    npm run build
+    cd dist
+    mkdir -p /usr/share/cloudstack-management/webapp/primate
+    cp -vr . /usr/share/cloudstack-management/webapp/primate/
+    # Use Primate at {management-server}:8080/client/primate in browser
+
+If the webapp directory is changed, please change the `webapp.dir` in the
 `/etc/cloudstack/management/server.properties` and restart the management server host.
 
 To use a separate webserver, note that the API server is accessed through the path