2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-16 00:12:48 +00:00
Comrad/bin/komrade-app
quadrismegistus 8dc43c3f83 updates
2020-09-25 14:57:02 +01:00

16 lines
348 B
Bash
Executable File

#!/bin/bash
##
# Run the mobile app
##
export KOMRADE_SHOW_LOG=0
SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
source "$SCRIPTPATH/komrade-activate"
path=`realpath "$SCRIPTPATH/../komrade/app/main.py"`
pathreqs=`realpath "$SCRIPTPATH/../requirements.txt"`
python -m pip install -r "$pathreqs"
python "$path" $*