Skip to content

davidmbl/email-queue

Repository files navigation

Set up Redis Server

If using Docker, run the following command to start a Redis server:

docker run -d -p 7000:6379 --name redis redis

Update your .env file with the following settings:

REDIS_HOST=127.0.0.1  
REDIS_PORT=7000

Run Migrations

To create the necessary database tables, run the following command:

php artisan migrate

Run the Queue Worker

Start the queue worker to process emails:

php artisan queue:work

Run the Scheduler

To ensure the email sending job runs every 10 seconds, run the following command:

php artisan schedule:work

Run the Development Server

Start the server to interact with the app:

php artisan serve

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors