For the web component itself you only need to do:
bower install socket-io
If you require a server, please follow the official socket.io docs
you need a functioning socket.io server running
A small chat application is included as a more complex demo
-
install socket.io server side module:
npm install socket.io
-
Start the demo socket.io/web server using
node demo-chat-server.js
-
Navigate to localhost:8090/demo-chat-client.html to try it out
MIT