Category rendering, DB columns refined.

This commit is contained in:
2026-02-04 18:09:33 +07:00
parent d0b2a78618
commit 0e95c2986a
16 changed files with 215 additions and 15 deletions

19
startup.sh Normal file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
set -e
echo "formatting..."
black .
echo "checking psql..."
if ! pg_isready -h localhost -p 5432; then
echo "psql is down, try again" >&2
exit 1
fi
echo "psql is up and is recieving connections."
echo "running migrations..."
alembic upgrade head
echo "starting the bot..."
exec python main.py