-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
37 lines (28 loc) · 649 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
init:
make cache-clear
cp ./.env.dist ./.env
make stop
make start
make install-composer
stop:
docker compose stop
start:
docker compose up -d
down:
docker compose down
restart:
make stop
make start
cache-clear:
rm -rf var/cache/*
rm -rf var/log/*
install-composer:
docker exec -it t2j-app composer install --no-interaction --no-ansi --prefer-dist --no-progress --optimize-autoloader
build:
rm -rf var/cache/*
rm -rf var/log/*
docker build -f ./docker/prod/Dockerfile . -t 68publishers/toggl-to-jira:latest
stan:
docker exec -it t2j-app vendor/bin/phpstan analyse
cs:
docker exec -it t2j-app vendor/bin/php-cs-fixer fix -v