sort of cool now
This commit is contained in:
15
bin/devserver
Executable file
15
bin/devserver
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/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
|
||||
|
||||
Reference in New Issue
Block a user