34 lines
597 B
Makefile
34 lines
597 B
Makefile
|
auth:
|
||
|
docker exec -it -u1000:1000 responsebundle_php bash
|
||
|
|
||
|
auth-root:
|
||
|
docker exec -it responsebundle_php bash
|
||
|
|
||
|
test:
|
||
|
bin/codecept run $p
|
||
|
|
||
|
coverage:
|
||
|
bin/codecept run --coverage --coverage-html=/app/var/temp.html
|
||
|
|
||
|
# make out container
|
||
|
coverage-open:
|
||
|
google-chrome var/temp.html/index.html
|
||
|
|
||
|
#docker
|
||
|
start:
|
||
|
docker-compose up -d
|
||
|
stop:
|
||
|
docker-compose down
|
||
|
pull:
|
||
|
docker-compose pull
|
||
|
restart: stop start
|
||
|
restart-php:
|
||
|
docker-compose restart backend-php-fpm
|
||
|
down-clear:
|
||
|
docker-compose down -v --remove-orphans
|
||
|
init: down-clear pull start
|
||
|
|
||
|
#prepare
|
||
|
prepare-environment:
|
||
|
bash bin/docker/prepare.sh
|