If using Docker, run the following command to start a Redis server:
docker run -d -p 7000:6379 --name redis redisUpdate your .env file with the following settings:
REDIS_HOST=127.0.0.1
REDIS_PORT=7000To create the necessary database tables, run the following command:
php artisan migrateStart the queue worker to process emails:
php artisan queue:workTo ensure the email sending job runs every 10 seconds, run the following command:
php artisan schedule:workStart the server to interact with the app:
php artisan serve