NPUSH SERVER APPLICATION, build 3.0.0; NEWICON LTD.
-
INSTALLATION
GLOBAL
$ npm install npush-server -g
LOCAL
$ npm install npush-server
-
LAUNCH
DEFAULT COMMAND LINE
FOR GLOBAL INSTALLATION: $ npush-server TCP-PORT WORKER-INSTANCES FOR LOCAL INSTALLATION (execute in installation folder) $ node npush-s.js TCP-PORT WORKER-INSTANCES
EXAMPLES:
FOR GLOBAL INSTALLATION: 1. Default setting; port 8080, single instance $ npush-server 2. With options; port 80, 10 instances $ npush-server 80 10 FOR LOCAL INSTALLATION (execute in installation folder) 1. Default setting; port 8080, single instance $ node npush-s.js 2. With options; port 80, 10 instances $ node npush-s.js 80 10