forked from owInteractive/desafio-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
41 lines (28 loc) · 829 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.RECIPEPREFIX +=
.DEFAULT_GOAL := help
help:
@echo "Welcome to IT Support, have you tried turning it off and on again?"
install:
@composer install
test:
@docker exec desafiobackend_php php artisan test
coverage:
@docker exec desafiobackend_php ./vendor/bin/pest --coverage
migrate:
@docker exec desafiobackend_php php artisan migrate
seed:
@docker exec desafiobackend_php php artisan db:seed
fresh:
@docker exec desafiobackend_php php artisan migrate:fresh
analyse:
./vendor/bin/phpstan analyse --memory-limit=256m
generate:
@docker exec desafiobackend_php php artisan ide-helper:models --write
nginx:
@docker exec -it desafiobackend_nginx /bin/sh
php:
@docker exec -it desafiobackend_php /bin/sh
mysql:
@docker exec -it desafiobackend_mysql /bin/sh
redis:
@docker exec -it desafiobackend_redis /bin/sh