fga-eps-mds/2019.1-unbrake

View on GitHub
unbrake-api/production/entrypoint

Summary

Maintainability
Test Coverage
#!/bin/sh

until nc -z db 5432; do
    echo "Waiting for db initialize..."
    sleep 1
done

echo "db initialized!"

./manage.py makemigrations
./manage.py migrate --no-input

exec gunicorn unbrake_api.wsgi:application --bind 0.0.0.0:8080