From a3eedefeea98e028543b153e809335e87493f6d8 Mon Sep 17 00:00:00 2001 From: dmitrygribenchuk Date: Fri, 17 Sep 2021 09:28:22 +0300 Subject: [PATCH] optimized package installation optimized package installation --- install.sh | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/install.sh b/install.sh index 69317c8..d4a6a1f 100644 --- a/install.sh +++ b/install.sh @@ -11,23 +11,14 @@ if [ -n "$2" ]; then branch="$2" ; fi sed -i s/\GRUB_CMDLINE_LINUX=\"\/GRUB_CMDLINE_LINUX=\"net.ifnames=0\ \/ /etc/default/grub update-grub -apt-get update -apt-get install -y git python3-pip curl openvpn wget supervisor nginx curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - apt-get update -apt-get install -y nodejs -apt-get install -y redis-server -apt-get install -y ifupdown net-tools +apt-get install -y git python3-pip curl openvpn wget supervisor nginx nodejs redis-server ifupdown net-tools cd /opt git clone $repositoryUrl cd $ROOT_PROJECT_PATH git checkout $branch -python3 -m pip install django==3.2 -python3 -m pip install requests==2.25.1 -python3 -m pip install ldap3==2.9 -python3 -m pip install celery==4.4.2 -python3 -m pip install redis==3.5.3 -python3 -m pip install gunicorn==19.4.5 +python3 -m pip install django==3.2 requests==2.25.1 ldap3==2.9 celery==4.4.2 redis==3.5.3 gunicorn==19.4.5 mkdir db python3 manage.py makemigrations vpnserver python3 manage.py migrate