-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
34 lines (27 loc) · 840 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
up:
docker-compose up -d
docker-compose exec api chown -R $USER:www-data storage
docker-compose exec api chown -R $USER:www-data bootstrap/cache
docker-compose exec api chmod -R 775 storage
docker-compose exec api chmod -R 775 bootstrap/cache
docker-compose exec front yarn start
init:
docker-compose up --build -d
docker-compose exec api composer install
docker-compose exec api cp .env.example .env
docker-compose exec api php artisan key:generate
docker-compose exec api php artisan migrate:refresh --seed
docker-compose exec front yarn install
docker-compose exec front yarn start
down:
docker-compose down
dbfresh:
docker-compose exec api php artisan migrate:fresh --seed
mvapi:
docker-compose exec api sh
mvfront:
docker-compose exec front sh
mvweb:
docker-compose exec web sh
mvdb:
docker-compose exec db sh