-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
54 lines (46 loc) · 3.32 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
all: build
build: ascci_art
@mkdir -p /home/abouabra/data/wordpress /home/abouabra/data/mariadb
@sudo docker compose -f src/docker-compose.yml up -d --build
start: ascci_art
@sudo docker compose -f src/docker-compose.yml up -d
stop:
@sudo docker compose -f src/docker-compose.yml stop
fclean:
@sudo docker compose -f src/docker-compose.yml down -v
@sudo docker system prune -af
@sudo rm -rf /home/abouabra/data/
re: stop start
RED = \033[1;31m
GREEN = \033[1;32m
BLUE = \033[1;34m
YELLOW = \033[1;33m
BLINK = \033[5m
RESET = \033[0m
ascci_art:
@clear
@printf "$(BLINK)$(GREEN) \n\
\n\
\n\
##### # \n\
###### / # \n\
/# / / # ### \n\
/ / / ## # \n\
/ / ## \n\
## ## ### /### /### /## /### ######## ### /### ### /### \n\
## ## ###/ #### / / ### / / ### / ### / ######## ### / ### / ###/ #### / \n\
/### ## ## ###/ / ###/ / ### / ###/ ## ## / ###/ ## ###/ \n\
/ ### ## ## ## ## ## ### ## ## ## ## ## ## ## ## \n\
## ## ## ## ## ######## ## ## ## ## ## ## ## ## \n\
## ## ## ## ## ## ####### ## ## ## ## ## ## ## ## \n\
### # / ## ## ## ## ## ## ## ## ## ## ## ## \n\
### / ## ## ### / #### / ## ## ## ## ## ## ## ## \n\
#####/ ### ### ######/ ######/ ####### ## ### / ###### ### ### \n\
### ### ### ##### ##### ###### ## ##/ #### ### ### \n\
## \n\
## \n\
## By: abouabra \n\
## \n\
\n\
\n$(RESET)"
.PHONY: all start stop clean fclean re ascci_art