Websockets-Tester: Difference between revisions

From Bitpost wiki
Line 1: Line 1:
=== Creation ===
=== Creation ===
* create this wiki page off of Projects
* create this wiki page off of Projects
* research options; the ws npm [http://stackoverflow.com/questions/16392260/which-websocket-library-to-use-with-node-js looks good]
* research options; the [https://github.com/einaros/ws ws] node package [http://stackoverflow.com/questions/16392260/which-websocket-library-to-use-with-node-js looks good]
* mkdir ~/development/websockets-tester && cd ~/development/websockets-tester
* mkdir ~/development/websockets-tester && cd ~/development/websockets-tester
* # cp mah-haus project
* # cp mah-haus project

Revision as of 18:33, 1 June 2016

Creation

  • create this wiki page off of Projects
  • research options; the ws node package looks good
  • mkdir ~/development/websockets-tester && cd ~/development/websockets-tester
  • # cp mah-haus project
  • # clean index.js package.json to use wst (our top-level command) (don't worry about ws dependency, we add that next)
  • npm install --save ws # to install a local copy under node_modules, and add dep to package.json
  • # start coding!

Usage