blob: 6661d0bb8f26bd87a9822406147dcd46b05d3385 [file] [log] [blame]
TamasBakai9b780332019-02-15 08:38:16 +00001#!/bin/bash
2
3virtualenv --version > /dev/null || { echo 'Virtualenv command is not available, exiting' ; sleep 10; exit 1; }
4pip3 --version > /dev/null || { echo 'python3-pip package is not available, exiting' ; sleep 10; exit 1; }
5
6
7if [ -d ".env" ]; then
8 echo ".env is prepared"
9else
10 virtualenv --no-site-packages --distribute -p python3 .env
11fi
12
13source .env/bin/activate && pip3 install -r requirements.txt