diff options
Diffstat (limited to 'deploy.sh')
-rwxr-xr-x | deploy.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 00000000..ec50919e --- /dev/null +++ b/deploy.sh @@ -0,0 +1,15 @@ +#set -x +COMPASS_DIR=`cd ${BASH_SOURCE[0]%/*}/;pwd` +export COMPASS_DIR + +for i in python-cheetah python-yaml screen; do + if [[ `dpkg-query -l $i` == 0 ]]; then + continue + fi + sudo apt-get install $i +done + +screen -ls |grep deploy|awk -F. '{print $1}'|xargs kill -9 +screen -wipe +#screen -dmSL deploy bash $COMPASS_DIR/ci/launch.sh $* +$COMPASS_DIR/deploy/launch.sh $* |