refactoring: polished some files, .env.example update

This commit is contained in:
2026-05-18 17:00:17 +07:00
parent acb8662a66
commit 281a460974
14 changed files with 88 additions and 55 deletions

View File

@@ -6,17 +6,17 @@ echo
ruff check --fix
black .
echo "[+] checking psql availability"
if ! pg_isready -h localhost -p 5432 ; then
echo "psql is down." >&2
exit 1
fi
echo "[+] psql is available!"
echo
# echo "[+] checking psql availability"
# if ! pg_isready -h localhost -p 5432 ; then
# echo "psql is down." >&2
# exit 1
# fi
# echo "[+] psql is available!"
# echo
echo "[+] Running migrations..."
echo
alembic upgrade head
echo "[+] Starting bot..."
python main.py
python -m bot.main