#CHATAPP - LIVE CHATWALL
This project is based on PHP, Redis, and Pusher API. This application provides an live chatwall with social login. The target is to make it embeddable on your own website/wordpress blog/other cms. Pusher is used for pub/sub and redis is used for maintaining history of closed chats and for providing chat history to users joining in late to the conversation since Pusher does not have a History API. The PHP framework in use is Laravel (stable 2.x release). On the UI front it uses Jquery, Jquery UI, Jquery Noty and 99lime.com's fantastic HTML Kickstart.
This project is under construction and not ready for production use yet.
##REQUIREMENTS
- PHP 5.3x
- MySQL or any other fork with native php mysql support
- Redis server and Rediska library
Memcached server and memcached php librarySession handling now with Redis- Pusher account
- Twitter and Facebook app
##SETUP INSTRUCTIONS
- Sign-up for a Pusher account account if you don't have one and create an app.
- Install redis-server. On Ubuntu add chris-lea's redis repository from Launchpad and then do apt-get update and apt-get install redis-server
- Dowload and instlall the Rediska library using PEAR by 'pear channel-discover pear.geometria-lab.net' and then 'pear install geometria-lab/Rediska-beta'
Make sure you have memcached and the memcached php library installed and running.Make sure redis server is running- Git clone the project
- Create an apache virtualhost configuration and set the document root to the public directory
- Create a mysql db
- Import the application/config/db.sql file into the newly created database
- Open application/config/database.php and change the host, username, password, db name.
- Open public/index.php and change the pusher values with what you get from your Pusher.com account
- Open application/config/application.php and change the url element to point to your virtualhost address and define a random 32 character key in the key element
- Open application/config/cache.php and application/config/session.php and make necessary changes. By default, it's set to
memcacheRedis running on 127.0.0.1 - Open public/hybridauth/config.php and disable all adapters except Facebook and Twitter. Fill in your API values for Facebook and Twitter. Refer HybridAuth Docs for more info.
- Open http://yourvhost.com and login using Facebook or Twitter. Once successfully logged in, open the mysql db and change the role of the user to "admin"
- You are now the admin and ready to rock!
##SCREENSHOTS
Login Page
Active Chats
Admin View of Chat
##THANKS This project is in active development and sponsored by SportsKeeda.com