Skip to content

Latest commit

 

History

History

Web-Chat-Multiuser

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

This demo shows a way to integrate Dasha in web browser chat.

The communication between the Dasha application and local server is provided by socket.io.

Installation

  1. Setup environment (see doc)
  2. Run npm i in a current folder.
  3. Create .env file in current directory
  4. Set environment variables DASHA_SERVER and DASHA_APIKEY in .env file (see .env-example)
  5. Optionally you may also set DASHA_CONCURRENCY variable to change max number of conversations to run at once (default value is 2)

Running the demo

  1. Run node server.js for launching local server.
  2. Open http://localhost:8080 in browser.