#!/bin/bash

set -e
. /dgr/bin/functions.sh
isLevelEnabled "debug" && set -x

export LANG=C
export DEBIAN_FRONTEND=noninteractive

apt-get update
apt-get install -y python python-pip python-dev build-essential

ENJOLIVER=/opt/enjoliver

ln -sv ${ENJOLIVER}/bootcfg /var/lib/bootcfg
pip install -r ${ENJOLIVER}/requirements.txt

pip freeze

${ENJOLIVER}/validate.py

bootcfg --version
#!/bin/bash

set -e
. /dgr/bin/functions.sh
isLevelEnabled "debug" && set -x

export LANG=C
export DEBIAN_FRONTEND=noninteractive

apt-get update
apt-get install -y python python-pip python-dev build-essential

ENJOLIVER=/opt/enjoliver

ln -sv ${ENJOLIVER}/bootcfg /var/lib/bootcfg
pip install -r ${ENJOLIVER}/requirements.txt

pip freeze

ln -s /usr/local/bin/gunicorn /usr/bin/gunicorn

${ENJOLIVER}/validate.py

bootcfg --version
Add the gunicorn in the path
Add the gunicorn in the path
