-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
33 lines (33 loc) · 835 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
up:
docker-compose up -d
build:
docker-compose up -d --build
down:
docker-compose down
delete:
docker-compose down -v
destroy:
docker-compose down -v --rmi all
restart:
@make down
@make up
migrate:
docker-compose exec php-fpm php artisan migrate:fresh --seed
watch:
docker-compose exec nginx npm run watch
route:
docker-compose exec php-fpm php artisan route:list -c
install-laravel:
docker-compose exec php-fpm composer create-project --prefer-dist laravel/laravel .
serve:
docker-compose exec php-fpm php artisan serve --host=localhost --port=80
watch-poll:
docker-compose exec nginx npm run watch-poll
tinker:
docker-compose exec php-fpm php artisan tinker
composer-i:
docker-compose exec php-fpm composer install
npm-i:
docker-compose exec nginx npm install
production:
docker-compose exec nginx npm run production