16 lines
330 B
Plaintext
16 lines
330 B
Plaintext
|
#!/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
|
||
|
|