-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (19 loc) · 718 Bytes
/
Makefile
File metadata and controls
27 lines (19 loc) · 718 Bytes
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
up:
@docker compose up -d --build
@docker exec yamusphp composer install
parse:
@docker exec yamusphp php Example.php
showArtists:
@docker exec yamusmysql mysql -u root -proot -D yandex_music -e "select * from artists limit 5" --table
showTracks:
@docker exec yamusmysql mysql -u root -proot -D yandex_music -e "select * from tracks limit 5" --table
artists:
@docker exec yamusmysql mysql -u root -proot -D yandex_music -e "select * from artists" --table
tracks:
@docker exec yamusmysql mysql -u root -proot -D yandex_music -e "select * from tracks" --table
execute:
@up @parse @showArtists @showTracks
down:
@docker compose down
@docker volume rm yamusdb
@echo "Thank you and see you in future ;)"