From 3a94c357fc08524b876eac4096ac71d6fc26248c Mon Sep 17 00:00:00 2001 From: Christos Pollalis Date: Fri, 6 Oct 2017 04:02:06 +0300 Subject: [PATCH] Install missing dependencies and fix path to requirements.txt --- scripts/install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index bcdb278..0531c32 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -36,10 +36,11 @@ set -ex apt-get update -q apt-get install -yq --no-install-recommends \ - python python-pip openvpn uwsgi uwsgi-plugin-python + python python-pip openvpn uwsgi uwsgi-plugin-python \ + python-dev build-essential pip install -U pip -pip install -r $DIR/vpn-proxy/requirements.txt +pip install -r $DIR/requirements.txt echo "VPN_SERVER_REMOTE_ADDRESS = \"$VPN_IP\"" > $DIR/vpn-proxy/conf.d/0000-vpn-ip.py SOURCE_CIDRS=`echo "$SOURCE_CIDRS" | sed 's/ /", "/g'`