<commit_before># dispatch-standalone
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

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.


<commit_msg>DISPATCH-592 Update README.txt with new instruction on how to install/connect a console<commit_after># dispatch-standalone
The stand-alone qpid dispatch console is an html web site that monitors and controls a qpid dispatch router

To install the console:
- The console files are normally installed under /usr/share/qpid-dispatch/console/stand-alone

To run the web console:
- 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


{'fraction_non_alphanumeric': 0.055693069306930694, 'fraction_numerical': 0.021658415841584157, 'mean_word_length': 4.021739130434782, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 3, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4097264', 'n_tokens_mistral': 468, 'n_tokens_neox': 438, 'n_words': 231}