-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathMakefile
70 lines (51 loc) · 1.01 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
start:
php artisan serve --host 0.0.0.0
start-frontend:
npm run dev
setup:
composer install
cp -n .env.example .env
php artisan key:gen --ansi
touch database/database.sqlite
php artisan migrate
php artisan db:seed
npm ci
npm run build
make ide-helper
watch:
npm run watch
migrate:
php artisan migrate
console:
php artisan tinker
log:
tail -f storage/logs/laravel.log
test:
php artisan test
test-coverage:
XDEBUG_MODE=coverage php artisan test --coverage-clover build/logs/clover.xml
deploy:
git push heroku
lint:
composer phpcs
lint-fix:
composer phpcbf
compose:
docker-compose up
compose-test:
docker-compose run web make test
compose-bash:
docker-compose run web bash
compose-setup: compose-build
docker-compose run web make setup
compose-build:
docker-compose build
compose-db:
docker-compose exec db psql -U postgres
compose-down:
docker-compose down -v
ide-helper:
php artisan ide-helper:eloquent
php artisan ide-helper:gen
php artisan ide-helper:meta
php artisan ide-helper:mod -n