$ npm install
$ cd server
$ node ws_server.js
Create a HTTP server to serve the index page.
Here, python is being used to create the HTTP server.
Python 2:
$ python -m SimpleHTTPServer 8001
Python 3:
$ python3 -m http.server 8001
Browse: http://localhost:8001/