update document

This commit is contained in:
Kai Ton 2024-02-24 03:33:40 +00:00
parent f31cd8723f
commit 43a726f0c8
1 changed files with 26 additions and 1 deletions

View File

@ -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 <br>
> `--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
```