Adding an easy install Script
[apex.git] / contrib / simple_deploy.sh
1 #!/bin/bash
2 set -e
3 apex_home=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
4 export CONFIG=$apex_home/build
5 export LIB=$apex_home/lib
6 export RESOURCES=$apex_home/.build/images/
7 export PYTHONPATH=$PYTHONPATH:$apex_home/lib/python
8 $apex_home/ci/dev_dep_check.sh
9 pushd $apex_home/build
10 make clean
11 make undercloud
12 make overcloud-opendaylight
13 pushd $apex_home/ci
14 ./clean.sh
15 ./dev_dep_check.sh
16 out=/tmp/opnfv-deploy.out
17 echo "All further output will be piped to $out"
18 (nohup ./deploy.sh -v -n $apex_home/config/network/network_settings.yaml -d $apex_home/config/deploy/os-odl_l3-nofeature-noha.yaml &> $out &)
19 popd