You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ea...@apache.org on 2016/12/14 18:22:32 UTC

qpid-dispatch git commit: DISPATCH-592 Update README.txt with new instruction on how to install/connect a console

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 611e7d6d0 -> f69a74d59


DISPATCH-592 Update README.txt with new instruction on how to install/connect a console


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/f69a74d5
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/f69a74d5
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/f69a74d5

Branch: refs/heads/master
Commit: f69a74d597d84943da7db7dcac7ed43364036308
Parents: 611e7d6
Author: Ernest Allen <ea...@redhat.com>
Authored: Wed Dec 14 13:22:03 2016 -0500
Committer: Ernest Allen <ea...@redhat.com>
Committed: Wed Dec 14 13:22:03 2016 -0500

----------------------------------------------------------------------
 console/stand-alone/README.txt | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/f69a74d5/console/stand-alone/README.txt
----------------------------------------------------------------------
diff --git a/console/stand-alone/README.txt b/console/stand-alone/README.txt
index 3c38b9d..86e4b98 100644
--- a/console/stand-alone/README.txt
+++ b/console/stand-alone/README.txt
@@ -2,20 +2,20 @@
 The stand-alone qpid dispatch console is an html web site that monitors and controls a qpid dispatch router
 
 To install the console:
-- install and setup a web server (such as apache tomcat)
-- under the web servers's webapps dir, create a dispatch dir
-- copy the contents of this directory to the web server's dispatch dir
+- The console files are normally installed under /usr/share/qpid-dispatch/console/stand-alone
 
 To run the web console:
-- start the web server
-- in a browser, navigate to http://localhost:<htmlport>/dispatch/
-
-To connect to a qpid dispatch router from the console, you'll need to setup a websockets to tcp proxy.
-
-To setup and run a websockets proxy:
-- dnf install websockify
-- websockify 0.0.0.0:5673 0.0.0.0:<router's listener port>
-
-On the console's connect page you can then use the address of your web server and port 5673 to connect.
+- Ensure one of the routers in your network is configured with a normal listener with http: true
+listener {
+    role: normal
+    host: 0.0.0.0
+    port: 5673
+    http: true
+    saslMechanisms: ANONYMOUS
+}
+- start the router
+- in a browser, navigate to http://localhost:5673/
 
+The router will serve the console's html/js/css from the install directory.
+The cosole will automatically connect to the router at localhost:5673
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org