-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
51 lines (39 loc) · 905 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
48
49
50
51
# https://github.com/samuelcolvin/pydantic/blob/master/Makefile
.DEFAULT_GOAL := all
.PHONY: lint
lint:
make -C api lint
make -C parser lint
.PHONY: format
format:
cd api && source .venv/bin/activate && make format && deactivate
cd parser && source .venv/bin/activate && make format && deactivate
.PHONY: up
up:
docker compose up -d --build --remove-orphans
.PHONY: up-api
up-api:
docker compose up -d --build api database --remove-orphans
.PHONY: up-parsers
up-parsers:
docker compose --profile parsers up -d
.PHONY: up-banki
up-banki:
docker compose --profile banki up -d
.PHONY: up-sravni
up-sravni:
docker compose --profile sravni up -d
.PHONY: up-vk
up-vk:
docker compose --profile vk up -d
.PHONY: up-mdf
up-mdf:
docker compose --profile mdf up -d
.PHONY: up-views
up-views:
docker compose --profile views up -d
.PHONY: env
env:
cp .env.example .env
.PHONY: all
all: format