forked from ineat/docker-php-nginx-postgres-composer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
58 lines (40 loc) · 1.27 KB
/
Makefile
File metadata and controls
58 lines (40 loc) · 1.27 KB
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
docker-up: memory
docker-compose up -d
docker-down:
docker-compose down --remove-orphans
docker-build: memory
docker-compose up --build -d
test:
docker-compose exec php-cli vendor/bin/phpunit
assets-install:
docker-compose exec node yarn install
assets-rebuild:
docker-compose exec node npm rebuild node-sass --force
assets-dev:
docker-compose exec node yarn run dev
assets-prod:
docker-compose exec node yarn run prod
assets-watch:
docker-compose exec node yarn run watch
queue:
docker-compose exec php-cli php artisan queue:work
horizon:
docker-compose exec php-cli php artisan horizon
horizon-pause:
docker-compose exec php-cli php artisan horizon:pause
horizon-continue:
docker-compose exec php-cli php artisan horizon:continue
horizon-terminate:
docker-compose exec php-cli php artisan horizon:terminate
memory:
sysctl -w vm.max_map_count=262144
perm:
sudo chgrp -R www-data storage bootstrap/cache
sudo chmod -R ug+rwx storage bootstrap/cache
artisan-migrate:
docker-compose exec php-cli php artisan migrate
artisan-clear:
docker-compose exec php-cli php artisan cache:clear
docker-compose exec php-cli php artisan route:cache
docker-compose exec php-cli php artisan view:clear
docker-compose exec php-cli php artisan config:cache