16 lines
331 B
Bash
Executable File
16 lines
331 B
Bash
Executable File
#!/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/strpcd
|
|
|