https://github.com/boolfalse/rtca-laracasts
Laravel Realtime Chat App with Laracasts
https://github.com/boolfalse/rtca-laracasts
Last synced: 3 months ago
JSON representation
Laravel Realtime Chat App with Laracasts
- Host: GitHub
- URL: https://github.com/boolfalse/rtca-laracasts
- Owner: boolfalse
- Created: 2020-09-05T02:25:46.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-05T02:26:15.000Z (over 5 years ago)
- Last Synced: 2025-08-24T23:32:57.103Z (5 months ago)
- Language: PHP
- Size: 289 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
13092018
laracasts/Laravel-Redis-and-Socket.io
https://laracasts.com/series/real-time-laravel-with-socket-io/episodes/1
Free downloaded video course:
https://getfreetutorial.com/laracast-real-time-laravel-socket-io/
1.
git clone https://boolfalse@bitbucket.org/boolfalse/rtca-laracasts.git
2.
copy and past .env.example content into new created .env file
3.
composer install
4.
php artisan key:generate
5.
npm install
6.
run redis (if you have not installed redis yet on your machine, follow substeps)
6.1
download and install redis for your PC
(for me: https://stackoverflow.com/questions/6476945/how-do-i-run-redis-on-windows/10525215)
6.2
cd to installed redis directory, and run "redis-server"
7.
node socket.js
8.
open 2 browser windows, and open page with random user_id. for example
http://rtca-laracasts.local/5
http://rtca-laracasts.local/13
9.
after successfully (without any errors in console commands redis and node) runs,
you must to see subscribed user IDs in your web page