File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
{ pkgs ? import <nixpkgs> { } , DB ? "" } :
2
2
3
3
let
4
+ logoPath = "../libs/shared/assets/logos/cuHacking/logo-icon-wordmark-gradient-green.png" ;
5
+ teamLogoPath = "../libs/shared/assets/logos/cuHacking/team-logos.png" ;
4
6
pgPort = "5432" ;
5
7
pgUser = "postgres" ;
6
8
pgDatabase = "postgres" ;
@@ -12,6 +14,7 @@ in pkgs.mkShell {
12
14
name = "cuhacking-2025-dev-db" ;
13
15
14
16
buildInputs = [
17
+ pkgs . ascii-image-converter
15
18
pkgs . postgresql
16
19
] ;
17
20
@@ -56,15 +59,19 @@ in pkgs.mkShell {
56
59
echo "DATABASE_URI=postgres://${ pgUser } :${ pgPassword } @${ pgHost } :${ pgPort } /${ pgDatabase } "
57
60
echo "***************************************************"
58
61
echo ""
62
+ ascii-image-converter ${ logoPath } --color -f -b
63
+ echo "Leave None Behind Regardless of Our Development Cost 💚⌨🐧🚀🔥"
59
64
}
60
65
61
66
stop_db() {
62
67
echo "Stopping PostgreSQL..."
63
68
if pg_ctl status -D "$PGDATA" > /dev/null 2>&1; then
64
69
pg_ctl stop -D "$PGDATA"
65
- echo "PostgreSQL stopped."
70
+ ascii-image-converter ${ teamLogoPath } --color -f -b
71
+ echo "PostgreSQL stopped. 💤🛌"
66
72
else
67
- echo "PostgreSQL is not running."
73
+ ascii-image-converter ${ teamLogoPath } --color -f -b
74
+ echo "PostgreSQL is not running. 💤🛌"
68
75
fi
69
76
}
70
77
You can’t perform that action at this time.
0 commit comments