master
marxzuckerburg 4 years ago
parent 8d58e46e49
commit ceee8e7845

@ -14,6 +14,10 @@ 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
# update?
path_repo_git="$path_repo/.git"
if [ -d "$path_repo_git" ]
@ -21,9 +25,5 @@ then
pushd $path_repo && git pull
fi
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
python $path_repo/comrad/app/main.py
Loading…
Cancel
Save