strpc/bin/devserver

16 lines
331 B
Plaintext
Raw Permalink 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
2019-08-07 00:02:41 +00:00
pipenv run bin/strpcd
2019-08-06 18:36:35 +00:00