-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
47 lines (33 loc) · 999 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
42
43
44
45
46
47
up: docker-up
down: docker-down
restart: docker-down docker-up
init: docker-down-clear docker-pull docker-build docker-up composer-update key migrate
db-rebuild: rollback migrate
docker-up:
docker-compose up -d
docker-down:
docker-compose down --remove-orphans
docker-down-clear:
docker-compose down -v --remove-orphans
docker-pull:
docker-compose pull
docker-build:
docker-compose build
composer-install:
docker-compose run --rm php-cli composer install
composer-update:
docker-compose run --rm php-cli composer update
rollback:
docker-compose run --rm php-cli php artisan migrate:rollback
migrate:
docker-compose run --rm php-cli php artisan migrate
seed:
docker-compose run --rm php-cli php artisan db:seed
key:
docker-compose run --rm php-cli php artisan key:generate
artisan:
docker-compose run --rm php-cli php artisan $(c)
require:
docker-compose run --rm php-cli composer require $(p)
feature:
docker-compose run --rm php-cli php artisan test --testsuite=Feature