forked from adr1enbe4udou1n/laravel-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
31 lines (25 loc) · 749 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
PHONY: start
start:
docker-compose -f docker-compose.yml up
PHONY: start.prod
start.prod:
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d
PHONY: build
build:
docker-compose build
PHONY: install.prod
install.prod:
docker exec -it boilerplate-php-fpm php /app/artisan key:generate
docker exec -it boilerplate-php-fpm php /app/artisan storage:link
docker exec -it boilerplate-php-fpm php /app/artisan migrate
PHONY: install
install:
docker exec -it boilerplate-php-fpm php /app/artisan key:generate
docker exec -it boilerplate-php-fpm php /app/artisan storage:link
docker exec -it boilerplate-php-fpm php /app/artisan migrate --seed
PHONY: delete
delete:
docker-compose down
PHONY: stop
stop:
docker-compose stop