diff --git a/displayclienthtml/README b/displayclienthtml/README new file mode 100644 index 0000000..7529483 --- /dev/null +++ b/displayclienthtml/README @@ -0,0 +1,6 @@ +this contains currently standalone html pages showing off how the displayclient looks like + +the final setup will be a central server using node.js which gets it's data from the frameserver +and manages the multiple connections to web clients visualizing the virtual building + +howto install node js: http://howtonode.org/how-to-install-nodejs diff --git a/displayclienthtml/hello_node.js b/displayclienthtml/hello_node.js new file mode 100644 index 0000000..fb397a8 --- /dev/null +++ b/displayclienthtml/hello_node.js @@ -0,0 +1,6 @@ +var http = require('http'); +http.createServer(function (req, res) { + res.writeHead(200, {'Content-Type': 'text/plain'}); + res.end('Hello Node.js\n'); +}).listen(8124, "127.0.0.1"); +console.log('Server running at http://127.0.0.1:8124/');