Fixes on deploy.sh
This commit is contained in:
parent
23752719d6
commit
423c6e9991
|
@ -54,9 +54,10 @@ if [[ ! $CURRENT_VERSION ]]; then
|
||||||
}
|
}
|
||||||
PYTHON_PATH=$($PYTHON_BIN -c "import sys; print([path for path in sys.path if path.startswith('/usr/local/lib/python')][0]);")
|
PYTHON_PATH=$($PYTHON_BIN -c "import sys; print([path for path in sys.path if path.startswith('/usr/local/lib/python')][0]);")
|
||||||
echo $HOME/django-orchestra/ | sudo tee "$PYTHON_PATH/orchestra.pth"
|
echo $HOME/django-orchestra/ | sudo tee "$PYTHON_PATH/orchestra.pth"
|
||||||
|
fi
|
||||||
|
|
||||||
run "cp $HOME/django-orchestra/orchestra/bin/orchestra-admin /usr/local/bin/"
|
run "cp $HOME/django-orchestra/orchestra/bin/orchestra-admin /usr/local/bin/"
|
||||||
run "cp $HOME/django-orchestra/orchestra/bin/orchestra-beat /usr/local/bin/"
|
run "cp $HOME/django-orchestra/orchestra/bin/orchestra-beat /usr/local/bin/"
|
||||||
fi
|
|
||||||
|
|
||||||
sudo orchestra-admin install_requirements --testing
|
sudo orchestra-admin install_requirements --testing
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue