ChatBox is a small chat service using websockets.
The php server use Ratchet.
The javascript client use jQuery, Bootstrap, web-socket-js (for compatibility with old browsers and smartphones) and webL10n
All you need to do is running bower and composer.
bower update
composer update
If you don't have bower installed, run:
npm install -g bower
If you don't have composer installed, run:
curl -sS https://getcomposer.org/installer | php
Run the server:
php bin/server.php
You can decide to disable logs by setting LOGGING
off in src/ChatBox/Chat.php
.
You can change the number of message stored in the log file by editing LENGTH
in src/ChatBox/Logger.php
.
Don't forget to change the hostname and the location of WebSocketMain.swf in js/chat.js