Find file History
Latest commit e2215ca Jan 19, 2016
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src Bump simple peer Mar 20, 2016
README.md Add npm install instructions Dec 10, 2015
index.html Bump simple peer Mar 20, 2016
server.js Standard formatting on test Jan 13, 2016

README.md

socket.io-p2p chat example

Install dependencies

If you haven't done so already, go to the root of the repository and npm install the dependencies.

Run

To start, cd to this directory (examples/chat) and run the following:

browserify src/index.js -o bundle.js
node server.js

(You will need browserify for this. If it isn't installed get it with npm install --global browserfiy)