Unification of pagination, admins control and more
This commit is contained in:
@@ -24,6 +24,14 @@ if ! pg_isready -h localhost -p 5432; then
|
||||
fi
|
||||
echo "psql is up and is recieving connections."
|
||||
|
||||
echo
|
||||
echo "checking redis..."
|
||||
if ! redis-cli ping | grep PONG > /dev/null; then
|
||||
echo "redis is down, try again" >&2
|
||||
exit 1
|
||||
fi
|
||||
echo "redis is up and is recieving connections."
|
||||
|
||||
echo
|
||||
echo "running migrations..."
|
||||
alembic upgrade head
|
||||
|
||||
Reference in New Issue
Block a user