Files
PINE/backend/docker_run.sh
Laura Glendenning d6aa00330d Add development updates.
Including:
1. Generated python documentat in docs/.
2. Starting a new python client in client/.
3. Moving testing data to test/.
4. The addition of Cypress UI tests and pytest tests in test/.
5. A number of bug fixes and improvements.
2020-07-30 11:59:05 -04:00

22 lines
620 B
Bash
Executable File

#!/bin/bash
# (C) 2019 The Johns Hopkins University Applied Physics Laboratory LLC.
GUNICORN_CONFIG_FILE="config.py"
if ([[ -z ${AUTH_MODULE} ]] || [[ ${AUTH_MODULE} == "vegas" ]]) && [[ -z ${VEGAS_CLIENT_SECRET} ]]; then
echo ""
echo ""
echo ""
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo "Please set VEGAS_CLIENT_SECRET environment variable"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo ""
echo ""
echo ""
exit 1
fi
set -e
/usr/local/bin/gunicorn --config ${GUNICORN_CONFIG_FILE} wsgi:app