#!/bin/bash -ex

# phb-manage.sh runs manage.py with oblivious hand-wavey default settings
# suitable for management commands that will work despite the wildly ignorant
# nature of hand-wavey default settings. this is especially useful for running
# management commands during the docker build process.
#
# Usage: phb-manage.sh [COMMAND] [ARGS]
#
# Example: phb-manage.sh collectstatic --noinput

export DEBUG=False SECRET_KEY=foo DATABASE_URL=sqlite://

python3 manage.py $@

#!/bin/bash -ex

# phb-manage.sh runs manage.py with oblivious hand-wavey default settings
# suitable for management commands that will work despite the wildly ignorant
# nature of hand-wavey default settings. this is especially useful for running
# management commands during the docker build process.
#
# Usage: phb-manage.sh [COMMAND] [ARGS]
#
# Example: phb-manage.sh collectstatic --noinput

export DEBUG=False
export SECRET_KEY=foo
export DATABASE_URL=sqlite://
export AUTH0_CLIENT_ID=foo
export AUTH0_CLIENT_SECRET=foo
export AUTH0_DOMAIN=foo
export AUTH0_CALLBACK_URL=foo

python3 manage.py $@

Fix phb_manage.sh so it can set up tests correctly
Fix phb_manage.sh so it can set up tests correctly
