nahid / talk

Talk is a real-time users messaging and chatting system for Laravel.
MIT License
1.6k stars 326 forks source link

How can i use this on redis server. #140

Open DimaBDV opened 5 years ago

DimaBDV commented 5 years ago

Hello! :) Help me please. How can i use this on redis server. Now your talk system use pusher.js. Do I need to change "src / helpers / talk.php" for this to work with redis. And what else is required to change / add?

jampack commented 5 years ago

If you have a running redis server then all you need to change is .env file to point the correct configurations, thats all i believe you need to do.

DimaBDV commented 5 years ago

@akkhan20 My question is how to use the Laravel Echo Server + Redis bundle. If you study the code, you can see that it is all written under Pusher. Or I don’t understand something, or i do takes more than just a change .env => BROADKAST_DRAIVER

jampack commented 5 years ago

No so basically with echo u need to do things manually, this package will only provide the facility to store the data in db and fetch. you need to send data to server through ajax and save it using this package and then broadcast through redis and echo will capture and broadcast it on channel

tylik1 commented 5 years ago

Also interested in this. If someone could please give a short guide, would be great.