Make sure you have redis installed on your machine and redis service is on.
-
Install composer dependencies by running
composer install
-
Install Laravel echo server globally by running
npm install -g laravel-echo-server
-
Change database credentials into .env file according to your environment and run php artisan migrate
-
Set BROADCAST_DRIVER and QUEUE_DRIVER to redis into .env file
-
Change authHost into laravel-echo-server.json file according to your site URL
-
Run
laravel-echo-server start
(keep running in background)