qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eal...@apache.org
Subject [3/3] qpid-dispatch git commit: DISPATCH-923 Renamed README.txt to README.md and added eslintrc.json
Date Thu, 01 Feb 2018 13:44:17 GMT
DISPATCH-923 Renamed README.txt to README.md and added eslintrc.json


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

Branch: refs/heads/master
Commit: 22400df1f7bc7c279d1e342c4a7f6590c481ca4b
Parents: 684a8b4
Author: Ernest Allen <eallen@redhat.com>
Authored: Thu Feb 1 08:43:45 2018 -0500
Committer: Ernest Allen <eallen@redhat.com>
Committed: Thu Feb 1 08:43:45 2018 -0500

----------------------------------------------------------------------
 console/.eslintrc.json        | 35 +++++++++++++++++++++++++++++++++++
 console/stand-alone/README.md | 31 +++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/22400df1/console/.eslintrc.json
----------------------------------------------------------------------
diff --git a/console/.eslintrc.json b/console/.eslintrc.json
new file mode 100644
index 0000000..64d913c
--- /dev/null
+++ b/console/.eslintrc.json
@@ -0,0 +1,35 @@
+{
+    "env": {
+        "browser": true,
+        "node": true,
+        "amd": true,
+        "jquery": true
+    },
+    "extends": "eslint:recommended",
+    "parserOptions": {
+        "ecmaVersion": 6,
+        "sourceType": "module",
+        "ecmaFeatures": {
+            "jsx": true
+        }
+    },
+    "rules": {
+        "indent": [
+            "error",
+            2
+        ],
+        "linebreak-style": [
+            "error",
+            "unix"
+        ],
+        "quotes": [
+            "error",
+            "single"
+        ],
+        "semi": [
+            "error",
+            "always"
+        ],
+        "no-console": "off"
+    }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/22400df1/console/stand-alone/README.md
----------------------------------------------------------------------
diff --git a/console/stand-alone/README.md b/console/stand-alone/README.md
new file mode 100644
index 0000000..50df9bd
--- /dev/null
+++ b/console/stand-alone/README.md
@@ -0,0 +1,31 @@
+# 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:
+
+  After a build, the console files are normally installed under /usr/share/qpid-dispatch/console/stand-alone
+  The 3rd party libraries are installed at during a 'make install' if npm is present on the
build machine.
+
+  ### To manually install the 3rd party libraries:
+    - cd /usr/share/qpid-dispatch/console/stand-alone
+    - npm install
+
+Note: An internet connection is required during the npm install to retrieve the 3rd party
javascript / css files.
+
+## 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
+
+
+


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


Mime
View raw message