-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
35 lines (26 loc) · 875 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
include .env
gcd_run:
docker compose --file docker-compose_gcd.yml up
gcd_build:
docker compose --file docker-compose_gcd.yml up --build
gcd_clean:
docker compose --file docker-compose_gcd.yml down; \
docker image rm gcd-mysql:${GCD_DUMP_DATE_CURR}; \
docker image rm gcd-python:${GCD_DUMP_DATE_CURR};
gcd_remove_volumes:
sudo rm -rf ./data/volumes/gcd_mysql*
tgd_run:
docker compose --file docker-compose_tgd.yml up
tgd_build:
docker compose --file docker-compose_tgd.yml up --build
tgd_clean:
docker compose --file docker-compose_tgd.yml down; \
docker image rm tgd-mysql:${TGD_DUMP_DATE_CURR}; \
docker image rm tgd-python:${TGD_DUMP_DATE_CURR};
tgd_remove_volumes:
sudo rm -rf ./data/volumes/tgd_mysql*
python_lint:
python3 -m venv ./python/venv; \
. ./python/venv/bin/activate && \
pip3 install -r ./python/requirements.txt && \
black ./python