You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
261 B
Plaintext
12 lines
261 B
Plaintext
4 years ago
|
|
||
|
SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||
|
path=`realpath "$SCRIPTPATH/../komrade/backend/switchboard.py"`
|
||
|
pathvenv=`realpath "$SCRIPTPATH/../venv/bin/activate"`
|
||
|
|
||
|
source $pathvenv
|
||
|
|
||
|
cmd="python $path 8080"
|
||
|
|
||
|
$cmd
|
||
|
|
||
|
#python switchboard.py 8080
|