Files
i2p.www/setup_venv.sh

17 lines
323 B
Bash
Raw Normal View History

#!/bin/sh
2012-12-11 04:37:52 +00:00
set -e
. ./project.vars
2012-12-11 04:37:52 +00:00
if [ ! $venv ]; then
echo "ERROR: virtualenv not found!" >&2
else
if [ ! -d $venv_dir ] ; then
$venv --distribute $venv_dir
fi
2012-12-11 04:37:52 +00:00
. $venv_dir/bin/activate
pip install -r reqs.txt
# Apply multi-domain patch to Flask-Babel
patch -p0 <multi-domain.patch
fi