2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-16 00:12:48 +00:00
Comrad/bin/komrade-app

22 lines
359 B
Plaintext
Raw Normal View History

2020-09-14 16:17:50 +00:00
#!/bin/bash
##
# Run the mobile app
##
2020-09-15 08:51:52 +00:00
export KOMRADE_SHOW_LOG=0
2020-09-14 16:17:50 +00:00
SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
path=`realpath "$SCRIPTPATH/../komrade/app/main.py"`
pathvenv=`realpath "$SCRIPTPATH/../venv/bin/activate"`
source $pathvenv
2020-09-14 20:10:31 +00:00
python "$path" $*
2020-09-14 16:17:50 +00:00
2020-09-14 16:47:39 +00:00
2020-09-15 08:51:52 +00:00
#if command -v deactivate &> /dev/null
#then
# deactivate
#fi