-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
executable file
·47 lines (32 loc) · 882 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
docker-up: memory
docker-compose up -d
docker-down:
docker-compose down
docker-build: memory
docker-compose up --build -d
memory:
sudo sysctl -w vm.max_map_count=262144
###################### Laravel
route:
docker-compose exec php-cli php artisan route:cache
cache:
docker-compose exec php-cli php artisan cache:clear
php-migrate:
docker-compose exec php-cli php artisan migrate
composer:
docker-compose exec php-cli composer install
dump:
docker-compose exec php-cli composer dumpautoload
test:
docker-compose exec php-cli vendor/bin/phpunit
queue:
docker-compose exec php-cli php artisan queue:work
echo-server:
docker-compose exec echo-server laravel-echo-server start --force
######################## Npm
npm:
docker-compose exec npm npm i
build-production:
docker-compose exec npm npm run build production
start:
docker-compose exec npm npm start