Websockets-Tester: Difference between revisions

From Bitpost wiki
Line 4: Line 4:
* # cp mah-haus project
* # cp mah-haus project
* # clean index.js package.json to use wst (our top-level command)
* # 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
* npm install --save ws # to install a local copy under node_modules, and add dep to package.json
* # start coding!
* # start coding!


=== Usage ===
=== Usage ===

Revision as of 18:30, 1 June 2016

Creation

  • create this wiki page off of Projects
  • 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