update document
This commit is contained in:
parent
f31cd8723f
commit
43a726f0c8
27
README.md
27
README.md
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
# Instal
|
# Install
|
||||||
|
|
||||||
You should change the /src/.env.example file name to .env and run
|
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
|
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
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue