https://github.com/web2solutions/dhtmlxchat
realtime chat with DHTMLX, Perl and RabbitMQ
https://github.com/web2solutions/dhtmlxchat
Last synced: over 1 year ago
JSON representation
realtime chat with DHTMLX, Perl and RabbitMQ
- Host: GitHub
- URL: https://github.com/web2solutions/dhtmlxchat
- Owner: web2solutions
- Created: 2014-07-11T06:57:01.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-07-18T18:46:04.000Z (about 12 years ago)
- Last Synced: 2025-02-04T13:44:42.154Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 2.29 MB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
--------------
- *A open source robust messaging system for applications*
*http://www.rabbitmq.com*
*http://www.rabbitmq.com/download.html*
install Perl environment
--------------
- *Dancer - a modern and agile Perl framework*
*http://perldancer.org*
- *Twiggy - AnyEvent HTTP server for PSGI*
*https://metacpan.org/pod/Twiggy*
- *Server::Starter - a superdaemon for hot-deploying server programs*
*https://metacpan.org/pod/distribution/Server-Starter/start_server*
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)