0.0.8 • Published 10 years ago
dhtmlx-node-chat v0.0.8
dhtmlxNodeChat

Just a simple chat built using DHTMLX on client and Node.js (Express + ws) && Redis on back end
Installation
List of softwares that you need to have already installed:
- Redis (running on localhost)
- Node.js
- Grunt
Download this repository and uncompress to a given directory, lets assume: /Users/YourName/apps/dhtmlxNodeChat/
Or, use npm
npm i dhtmlx-node-chatCommand line testing
Step 1
On terminal, navigate to the project directory:
$ cd /Users/YourName/apps/dhtmlxNodeChat/Install grunt (if you don't have it installed):
$ npm install -g grunt-cliInstall dependencies:
$ npm install grunt-contrib-qunit --save-dev
$ npm install express --save
$ npm install --save ws
$ npm install grunt-express --save-dev
$ npm install redis
$ npm install passport
$ npm install passport-local
$ npm install lodashStep 2
Now , type on terminal:
$ grunt testBrowser testing
Step 1
$ grunt serverThen open the browser and reach the following address to see the tests:
http://localhost:4080/test/t.htmlOr open the browser and reach the following address to see the application running:
http://localhost:4080/Starting application with node
$ cd /Users/YourName/apps/dhtmlxNodeChat/
$ node app.js