summaryrefslogtreecommitdiffstats
path: root/deploy.sh
blob: 95c3276dfb2ba7fb095f5ab4eb834b7249f67e9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
#set -x
COMPASS_DIR=`cd ${BASH_SOURCE[0]%/*}/;pwd`
export COMPASS_DIR

if [[ -z $DEPLOY_COMPASS && -z $DEPLOY_HOST && -z $REDEPLOY_HOST ]]; then
    export DEPLOY_COMPASS="true"
    export DEPLOY_HOST="true"
fi

sudo apt-get install -y --force-yes python-pip
sudo pip install --upgrade pip
sudo pip install --upgrade cheetah
sudo pip install --upgrade pyyaml

$COMPASS_DIR/deploy/launch.sh $*