realtime chat with DHTMLX, Perl and RabbitMQ
JavaScript Perl CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
environments
lib
public
t
views
MANIFEST
MANIFEST.SKIP
Makefile.PL
README.md
config.yml

README.md

dhtmlxChat

A realtime DHTMLX chat application

online demo

http://www.dhtmlx.com.br

stack

  • RabbitMQ
  • Perl / Dancer / Twiggy
  • dhtmlx 4.0 + a simple websocket client

install RabbitMQ

install Perl environment

Now on terminal:

- install perlbrew

curl -L http://xrl.us/perlbrewinstall | bash


- Add content to .bashrc

echo "source ~/perl5/perlbrew/etc/bashrc" >> ~/.bashrc


- run .bashrc

. ~/.bashrc


- install perl distro

perlbrew install perl-5.10.1


- Switch Perl version on terminal

perlbrew switch perl-5.10.1


- install cpan minus (cpanm executable)

curl -L http://cpanmin.us | perl - App::cpanminus

install Perl modules

Now on terminal:

- cpanm Dancer
- cpanm Twiggy
- cpanm Web::Hippie
- cpanm Moose
- cpanm Server::Starter

Executing the chat application

extract the project at /opt/dhtmlxChat

Now on terminal:

- cd /opt/dhtmlxChat
- start_server --port=80 -- plackup -R /opt/dhtmlxChat/lib -E deployment -s Twiggy --workers=10 bin/app.pl

now open your browser and reach http://localhost/

important note

this application dont works on Windows OS (I'm sorry Bill)