From f63cb1a95330dfa1583ea6a1beac05135cba6f44 Mon Sep 17 00:00:00 2001 From: wes Date: Fri, 27 Jan 2017 18:56:21 -0500 Subject: [PATCH] add build_venv.sh --- build_venv.sh | 6 ++++++ search.ini | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 build_venv.sh diff --git a/build_venv.sh b/build_venv.sh new file mode 100755 index 0000000..52009fd --- /dev/null +++ b/build_venv.sh @@ -0,0 +1,6 @@ +#! /usr/bin/bash + +virtualenv -p $(which python3) ./venv +source ./venv/bin/activate +pip3 install -r requirements.txt +deactivate diff --git a/search.ini b/search.ini index 91274d8..312be7c 100755 --- a/search.ini +++ b/search.ini @@ -6,7 +6,6 @@ callable = app virtualenv = /srv/http/build/venv uid = http gid = http -plugin = python master = true processes = 5