mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-16 00:12:48 +00:00
16 lines
348 B
Bash
Executable File
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" $*
|
|
|