Websockets-Tester: Difference between revisions

From Bitpost wiki
(Created page with "=== Creation === * mkdir ~/development/websockets-tester *")
 
Line 1: Line 1:
=== Creation ===
=== Creation ===
* mkdir ~/development/websockets-tester
* 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)
* npm install --save ws # to install a local copy under node_modules, and add dep to package.json
* # start coding!
 
=== Usage ===

Revision as of 18:28, 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)
  • npm install --save ws # to install a local copy under node_modules, and add dep to package.json
  • # start coding!

Usage