-
-
Notifications
You must be signed in to change notification settings - Fork 30
/
Makefile
48 lines (33 loc) · 1.21 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
install: file-permission composer-install migration es-create seed es-index yarn-install yarn-prod install-passport install-push
up:
docker compose up -d
bash:
docker compose exec -u nginx php bash
bash-root:
docker compose exec -u root php bash
composer-install:
docker compose exec -T -u nginx php composer install
file-permission:
docker compose exec -T php chmod -R 777 storage/
docker compose exec -T php chmod 777 bootstrap/cache/
migration:
docker compose exec -T -u nginx php php artisan migrate --force
seed:
docker compose exec -T -u nginx php php artisan db:seed
yarn-install:
docker compose exec -T -u nginx php yarn install
yarn-prod:
docker compose exec -T -u nginx php yarn run prod
yarn-watch:
docker compose exec -T -u nginx php yarn run watch
cache-config:
docker compose exec -T -u nginx php php artisan config:cache
docker compose exec -T -u nginx php php artisan route:cache
es-create:
docker compose exec -T -u nginx php php artisan es:create --force
es-index:
docker compose exec -T -u nginx php php artisan es:index --force
install-passport:
docker compose exec -T -u nginx php php artisan passport:install
install-push:
docker compose exec -T -u nginx php php artisan webpush:vapid