strpc/bin/devserver

16 lines
330 B
Plaintext
Raw Normal View History

2019-08-06 18:36:35 +00:00
#!/bin/bash
set -x
THISDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd -P)"
UPDIR="$( cd "$( dirname "$THISDIR" )" >/dev/null 2>&1 && pwd -P)"
export STRPC_BASE="$UPDIR/devserverroot"
export PYTHONPATH="$UPDIR"
cd "$UPDIR"
if [[ ! -d "$STRPC_BASE" ]]; then
mkdir -p "$STRPC_BASE"
fi
pipenv run bin/strpc