You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
248 B

  1. #!/usr/bin/env bash
  2. set -o errexit
  3. if [[ ! -d "app/staticfiles" ]]; then python app/manage.py collectstatic --noinput; fi
  4. python app/manage.py migrate
  5. gunicorn --bind="${BIND:-127.0.0.1:8000}" --workers="${WORKERS:-1}" --pythonpath=app app.wsgi