Laravel-WebSockets-Chat-Example
Laravel-WebSockets-Chat-Example copied to clipboard
Installation problem?
Found your repo from your YouTube channel. These steps did not work for me. Is there an .env file setting I need to change?
- Clone this repository git clone [email protected]:qirolab/Laravel-WebSockets-Chat-Example.git
- composer install
- php artisan key:generate
- cp .env.example .env and configure your database in .env file.
- Run migration to create tables in database. php artisan migrate
- Final step run websockets server. php artisan websockets:serve
Doing this I see:
$ php artisan websockets:serve
Starting the WebSocket server on port 6001...
And going to http://localhost:6001/ or http://localhost:8000 does nothing - the page does not load.
do this $ php artisan serve
And going to http://localhost:8000