14 lines
348 B
Plaintext
14 lines
348 B
Plaintext
|
This folder contains an example of how to use Union with Socket.io.
|
||
|
|
||
|
First, you'll want to install both Union and Socket.io. Run this
|
||
|
command in the folder you placed these two files:
|
||
|
|
||
|
npm install union socket.io
|
||
|
|
||
|
You can run the server like so:
|
||
|
|
||
|
node server.js
|
||
|
|
||
|
Now open up your web browser to http://localhost and see the results
|
||
|
in the console!
|