comrad update!
parent
d827fa89e3
commit
c2db3dc333
@ -1,16 +1,18 @@
|
|||||||
|
path_com_bin="`realpath ~/comrad/code/bin`"
|
||||||
|
path_conda="`realpath ~/comrad/lib/miniconda3`"
|
||||||
|
path_venv="`realpath ~/comrad/code/venv`"
|
||||||
|
path_repo="`realpath ~/comrad/code`"
|
||||||
|
|
||||||
|
source $path_conda/etc/profile.d/conda.sh
|
||||||
|
export PATH="$path_conda/bin:$PATH"
|
||||||
|
conda activate $path_venv
|
||||||
|
python -m pip install -r $path_repo/requirements.txt
|
||||||
|
|
||||||
SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
cd $path_repo
|
||||||
echo "script path: $SCRIPTPATH"
|
|
||||||
|
|
||||||
source "SCRIPTPATH/comrad-activate"
|
|
||||||
#source "`which komrade-activate`"
|
|
||||||
|
|
||||||
cd "$SCRIPTPATH/.."
|
|
||||||
|
|
||||||
python -c "
|
python -c "
|
||||||
from comrad import *
|
from comrad import *
|
||||||
create_phonelines()
|
create_phonelines()
|
||||||
"
|
"
|
||||||
|
|
||||||
$SCRIPTPATH/comrad-update
|
$path_com_bin/comrad-update
|
||||||
|
Loading…
Reference in New Issue