QOL changes
This commit is contained in:
parent
605c336198
commit
7b077423c6
@ -1,9 +1,7 @@
|
||||
#!/bin/bash
|
||||
echo "$@"
|
||||
SCRIPTDIR=$(readlink -f "$(dirname "$0")")
|
||||
echo "Script directory: $SCRIPTDIR"
|
||||
pushd "${SCRIPTDIR}" || exit
|
||||
echo "now in scriptdir"
|
||||
if [ ! -e ".venv" ]
|
||||
then
|
||||
python3 -m venv .venv
|
||||
@ -12,6 +10,4 @@ fi
|
||||
source .venv/bin/activate
|
||||
pip3 install -r requirements.txt
|
||||
python3 "$SCRIPTDIR"/server.py
|
||||
# echo "Server PID: $!"
|
||||
echo $! > pid
|
||||
popd || exit 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user