Simple example of using local websockets on Laravel framework
soon...
- Make makefile
- Private channels
- Separate Message.vue on components
- Make directory for docker
mkdir ./storage/docker
- Copy .env.example
cp .env.example .env
- Add UID, GID on .env file
- Run docker services
docker-compose up -d --build
- Install composer dependencies
docker-compose exec app composer install
- Install npm dependencies
npm install
- Migrate database
docker-compose exec app php artisan migrate --seed
- Run websockets serve
docker-compose exec app php artisan websockets:serve
Server running on localhost:8876