-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathADEPT-Start.sh
39 lines (35 loc) · 3.93 KB
/
ADEPT-Start.sh
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
echo -e "
,Æ▓▓▓▓▓▓▓▓^&┐
,g▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓N,
,g▓▓▓▓▓▓▓▓▓▓▒▒▒▒▓▓▓▓▓▓▓▓▓▓W,
,╔▓▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓╗,
╓$▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒░░▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓w
╓Æ▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒░░░░░░░░▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓^&╖
▄▓▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▄
▐██▓▓▓▓▓▒▒▒▒▒▒▒▒▒░░░░░░░░░░░┴┴░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▌
▐█████▓▓▒▒▒▒▒▒░░░░░░░░░░╜\" \"┴░░░░░░░░░░▒▒▒▒▒▒▒▒▓▓▓▓▓▌
,▄▄▄▄, ▄▄▄▄▄▄▄▄▄, ▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄
,██████████, ████████████, █████████████ ██████████████ ██████████████
▄███▀ ▀███▄ ███ ▀████ ███ ████ ▀███ ███▌
███ ███ ███ ███▌ ███▄▄▄▄▄▄▄▄ ████ ▄███ ███▌
██████████████ ███ ███▌ ███████████ ██████████████ ███▌
██████████████ ███ ████ ███ ██████████▀▀ ███▌
███ ███ ███▄▄▄▄▄█████ ███▄▄▄▄▄▄▄▄▄▄ ████ ███▌
███ ███ █████████▀▀ █████████████ ████ ███▌
▐█████▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒@╓, ,╓@║▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▌
▐██████▓▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒@╕╓@╢▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓█▓▓▓▓▌
██████████▓▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓█████████
\"▀█████████▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓█████████▀▀
╙▀█████████▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓█████████▀▀
▀▀█████████▓▓▓▓▓▓▓▓▓▓▓▓▓▓██████████▀
▀██████████▓▓▓▓▓▓██████████▀
\`▀██████████████████▀\`
\"▀██████████▀\"
"
DIR="data"
if [ "$(ls -A $DIR)" ];
then
docker compose -f docker-compose.yaml up --detach || docker-compose -f docker-compose.yaml up --detach
else
echo The data directory is missing!
fi