summaryrefslogtreecommitdiffstats
path: root/contrib/simple_deploy.sh
blob: d6d07f38976209b8512771f3215fd07f0dff13d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
set -e
apex_home=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/../
export PYTHONPATH=$apex_home/apex:$PYTHONPATH
$apex_home/ci/dev_dep_check.sh || true
$apex_home/ci/clean.sh
pip3 install -r $apex_home/requirements.txt
pushd $apex_home/apex
echo "All further output will be piped to $PWD/nohup.out"
(nohup python3 deploy.py -v -n ../config/network/network_settings.yaml -d ../config/deploy/os-nosdn-nofeature-noha.yaml --deploy-dir ../build --lib-dir ../lib --image-dir ../.build &)
[ -f nohup.out ] || sleep 3
tail -f nohup.out
popd