Files
PINE/test/setup_test_data.sh
2021-08-04 16:59:24 -04:00

18 lines
477 B
Bash
Executable File

#!/bin/bash
# (C) 2019 The Johns Hopkins University Applied Physics Laboratory LLC.
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
set -x
export MONGO_PORT=${MONGO_PORT:-27018}
export EVE_PORT=${EVE_PORT:-5001}
export BACKEND_PORT=${BACKEND_PORT:-5000}
export PINE_LOGGING_CONFIG_FILE=$(realpath ${DIR}/../shared/logging.python.dev.json)
pushd ${DIR} &>/dev/null
pipenv install --dev
pipenv run python3 ./data/import_test_data.py
popd &>/dev/null