diff --git a/README.md b/README.md index 0c843a1..a645472 100644 --- a/README.md +++ b/README.md @@ -187,20 +187,12 @@ To change this, you need to update `.env` file and `DEFAULT_WWW_PATH` to a new p Since you didn't install PHP inside your Mac, you also can't run `php artisan queue:work` using Supervisor. Right now I have no idea how to run Supervisor, but there is a way without using Supervisor, which is using [PM2](https://www.npmjs.com/package/pm2). This suggestion still need a better implementation. -Create `queue-helper.sh` inside your project folder and the content is - -```shell -#!/bin/bash - -butler php artisan queue:work --tries=1 -``` - Then create PM2 config inside the same folder, `pm2-queue.yaml`. The content is ```yaml apps: - name: - script: ./queue-helper.sh + script: NOTTY=true butler php artisan queue:work --tries=1 exec_mode: fork instances: 1 ```