-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
40 lines (33 loc) · 1.47 KB
/
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
down:
@echo '************ ************'
@echo '************ DOWN CONTAINERS ************'
@echo '************ ************'
docker-compose down
dev:
@echo '************ ************'
@echo '************ DEV INIT ************'
@echo '************ ************'
docker-compose up --build -d
up:
@echo '************ ************'
@echo '************ UP Python ************'
@echo '************ ************'
uvicorn src.main:app --reload
exec:
@echo '************ ************'
@echo '************ Exec NODE ************'
@echo '************ ************'
docker-compose exec node bash
init:
@echo '************ ************'
@echo '************ Init NODE ************'
@echo '************ ************'
docker-compose exec node bash dev.init.sh
test:
@echo '************ ************'
@echo '************ Test ************'
@echo '************ ************'
python -m pytest
clean:
docker-compose down -v --remove-orphans
docker ps -a | grep _run_ | awk '{print $$1}' | xargs -I {} docker rm {}