Commit e6621f21 authored by Hilal Ozdemir's avatar Hilal Ozdemir

dev.sh: add Beiran k8s interface installation

parent 4a9a3805
......@@ -4,7 +4,7 @@ DIR="$( cd "$(dirname "$0")" ; pwd -P )"
NAME=$(basename $DIR)
export VIRTUAL_ENV_DIR="${DIR}/env"
unset PYTHON_HOME
export PYTHONPATH=${DIR}:${DIR}/plugins
export PYTHONPATH=${DIR}:${DIR}/plugins:${DIR}/plugins/beiran_interface_k8s
export PYTHON_BINARY=python3.6
export PKG_DIR=${VIRTUAL_ENV_DIR}/lib/${PYTHON_BINARY}/site-packages
export VIRTUALENV=$(which virtualenv3 || which virtualenv || echo 'virtualenv')
......@@ -53,6 +53,12 @@ if [ $LAST_INSTALL -eq 0 ]; then
# install beiran_package_docker
cd ${DIR}/plugins/beiran_package_docker
${PYTHON_BINARY} setup.py install
# install beiran_interface_k8s
cd ${DIR}/plugins/beiran_interface_k8s
${PYTHON_BINARY} setup.py install
cd ${DIR}
INSTALLED=1
fi
......@@ -84,7 +90,7 @@ export BEIRAN_DB_FILE=${DIR}/beiran.db
export BEIRAN_LISTEN_ADDRESS=0.0.0.0
export BEIRAN_CONFIG_DIR=${DIR}
export BEIRAN_DISCOVERY_METHOD=zeroconf
export BEIRAN_PLUGINS=beiran.plugins.discovery.zeroconf,package.docker
export BEIRAN_PLUGINS=beiran.plugins.discovery.zeroconf,package.docker,interface.k8s
function ps1_context {
# For any of these bits of context that exist, display them and append
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment