virtual-world-framework/vwf — pull request #114 by bcbarsness (2014-01-29 17:48:40+00:00)
Title: Add Node.js command line options +

Add -v and -vwfPath option to specify VWF support file location
Add -s flag as an option for running Node server in ssl mode
Change order of default VWF support file location
Refactor and cleanup node server logging

------------------------------

Tests: (Includes testing of http://redmine.virtualworldframework.com/issues/3104)

cd VWF working directory
$ node node-server.js
$ node node-server.js -v ./public
$ node node-server.js --vwfPath ./public
$ node node-server.js -v ./not-a-dir

cd vwf-working-dir/public
$ node ../node-server.js -v ../

$ node ../node-server.js *(FAILS: "Could not find VWF support files")*
$ node ../node-server.js -v ./not-a-dir *(FAILS: "Could not find VWF support files")*