diff --git a/README.md b/README.md index d0b23ff..fb2b571 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -# Instal +# Install You should change the /src/.env.example file name to .env and run ``` @@ -36,3 +36,28 @@ Rabbitmq: rabbit/rabbit@123 ``` http://localhost:1572/horizon ``` + +# Test +Attach shell to Version`1` +``` +docker exec -it laravel-rabbitmq1-app-1 bash +``` +Test Job: src/app/Console/Commands/JobRun.php +``` +php artisan job:run +``` + +# Log +> [!NOTE] +> +> `-f`: file
+> `--tail 10`: Watch only see the last 10 lines + +View log `app` +``` +docker logs -f --tail 10 laravel-rabbitmq1-app-1 +``` +View log `puppeteer` +``` +docker logs -f --tail 10 laravel-rabbitmq1-puppeteer-1 +```