chat

Created: 2012-03-22 18:45
Updated: 2013-10-21 23:09
php

README.md

Chat Drupal distribution

A simple Drupal distribution exploring multiple node.js backed chats using Panels.

Installation

  1. curl -O https://raw.github.com/sprice/chat/master/build-chat.make
  2. drush make --working-copy build-chat.make public_html
  3. Configure virtual hosts
  4. cd public_html
  5. drush site-install chat --db-url=mysql://USER:PASS@localhost/DBNAME

Node.js configuration

Ensure you have the latest version of node.js and npm installed on your system.

  1. Log in to Drupal site
  2. Administration -> Configuration -> Nodejs -> Node.js server configuration builder
  3. Set the Service Key, Backend Host and check Debug. Save configuration (only use Debug during development).
  4. Copy the Suggested configuration to public_html/profiles/chat/modules/contrib/nodejs/nodejs.config.js
  5. cd public_html/profiles/chat/modules/contrib/nodjs/
  6. npm install
  7. node server.js (long running process).

Creating chat backed Meetings

  1. Add content -> Shout Box
  2. Enter Shout Box information.
  3. Add content -> Meeting
  4. Enter Meeting information. Use the autocomplete text field Shout Box to select the previouslly created Shout Box (title).
Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more