dhtmlx-desktop-chat

0.0.1 • Public • Published

dhtmlxDesktopChat NPM version Build Status

Just a simple desktop chat built using DHTMLX on client and Node.js (Express + ws) && Redis on back end

Imgur

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-desktop-chat

Command line testing

Step 1

On terminal, navigate to the project directory:

$ cd /Users/YourName/apps/dhtmlxDesktopChat/

Install grunt (if you don't have it installed):

$ npm install -g grunt-cli

Install 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 lodash

$ npm install electron-prebuilt -g

$ npm install electron-prebuilt --save-dev

Step 2

Now , type on terminal:

$ grunt test

Browser testing

Step 1

$ grunt server

Then open the browser and reach the following address to see the tests:

http://localhost:4080/test/t.html

Or open the browser and reach the following address to see the application running:

http://localhost:4080/

Starting desktop application

$ cd /Users/YourName/apps/dhtmlxDesktopChat/

$ electron .

Now you are able to talk with the web instance previously opened on browser.

Starting application with node

 $ cd /Users/YourName/apps/dhtmlxDesktopChat/

 $ node app.js

Dependents (0)

Package Sidebar

Install

npm i dhtmlx-desktop-chat

Weekly Downloads

1

Version

0.0.1

License

GPL-2.0

Last publish

Collaborators

  • web2solutions