summaryrefslogtreecommitdiff
path: root/examples/qwebchannel/nodejs/README
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qwebchannel/nodejs/README')
-rw-r--r--examples/qwebchannel/nodejs/README14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/qwebchannel/nodejs/README b/examples/qwebchannel/nodejs/README
new file mode 100644
index 0000000..07f8fd8
--- /dev/null
+++ b/examples/qwebchannel/nodejs/README
@@ -0,0 +1,14 @@
+This is a small NodeJS implementation on how to connect to a QWebChannel.
+
+This example implements a small chat client using the command line. It connects
+to the server provided by the other example 'examples/standalone/standalone'. Of
+course the port the server listens on must be known.
+
+How to run it:
+
+- Install NodeJS (at least 0.10.x) (http://www.nodejs.org/download/)
+- go to examples/nodejs and execute "npm install". This sets up the nodeJS
+ environment in this folder
+- ensure examples/standalone/standalone is running
+- execute the example with "node chatclient.js"
+