mirror of
https://github.com/JHUAPL/PINE.git
synced 2026-01-09 20:47:59 -05:00
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.
22 lines
620 B
Bash
Executable File
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
|