union/examples/socketio/README
raw| 1 | This folder contains an example of how to use Union with Socket.io. |
| 2 | |
| 3 | First, you'll want to install both Union and Socket.io. Run this |
| 4 | command in the folder you placed these two files: |
| 5 | |
| 6 | npm install union socket.io |
| 7 | |
| 8 | You can run the server like so: |
| 9 | |
| 10 | node server.js |
| 11 | |
| 12 | Now open up your web browser to http://localhost and see the results |
| 13 | in the console! |