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 to redis and QUEUE_DRIVER to sync 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)