mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
fix: [travis] virtualenv
This commit is contained in:
parent
5c1de2d09f
commit
060337ee9d
2 changed files with 5 additions and 3 deletions
|
@ -15,9 +15,9 @@ if [ -z "$VIRTUAL_ENV" ]; then
|
||||||
echo export AIL_FLASK=$(pwd)/var/www/ >> ./AILENV/bin/activate
|
echo export AIL_FLASK=$(pwd)/var/www/ >> ./AILENV/bin/activate
|
||||||
echo export AIL_REDIS=$(pwd)/redis/src/ >> ./AILENV/bin/activate
|
echo export AIL_REDIS=$(pwd)/redis/src/ >> ./AILENV/bin/activate
|
||||||
echo export AIL_ARDB=$(pwd)/ardb/src/ >> ./AILENV/bin/activate
|
echo export AIL_ARDB=$(pwd)/ardb/src/ >> ./AILENV/bin/activate
|
||||||
fi
|
|
||||||
|
|
||||||
. ./AILENV/bin/activate
|
. ./AILENV/bin/activate
|
||||||
|
fi
|
||||||
|
|
||||||
pip3 install -U pip
|
pip3 install -U pip
|
||||||
pip3 install 'git+https://github.com/D4-project/BGP-Ranking.git/@7e698f87366e6f99b4d0d11852737db28e3ddc62#egg=pybgpranking&subdirectory=client'
|
pip3 install 'git+https://github.com/D4-project/BGP-Ranking.git/@7e698f87366e6f99b4d0d11852737db28e3ddc62#egg=pybgpranking&subdirectory=client'
|
||||||
|
|
|
@ -89,7 +89,9 @@ fi
|
||||||
./install_virtualenv.sh
|
./install_virtualenv.sh
|
||||||
|
|
||||||
# force virtualenv activation
|
# force virtualenv activation
|
||||||
. ./AILENV/bin/activate
|
if [ -z "$VIRTUAL_ENV" ]; then
|
||||||
|
. ./AILENV/bin/activate
|
||||||
|
fi
|
||||||
|
|
||||||
pushd ${AIL_BIN}/helper/gen_cert
|
pushd ${AIL_BIN}/helper/gen_cert
|
||||||
./gen_root.sh
|
./gen_root.sh
|
||||||
|
|
Loading…
Reference in a new issue