forked from I2P_Developers/i2p.www
18 lines
354 B
Bash
Executable File
18 lines
354 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
. ./etc/project.vars
|
|
|
|
if [ ! $venv ]; then
|
|
echo "ERROR: virtualenv not found!" >&2
|
|
exit 1
|
|
else
|
|
if [ ! -d $venv_dir ] ; then
|
|
$venv --distribute $venv_dir
|
|
fi
|
|
|
|
. $venv_dir/bin/activate
|
|
pip install -r etc/reqs.txt
|
|
# Apply multi-domain patch to Flask-Babel
|
|
patch -p0 -N -r - <etc/multi-domain.patch
|
|
fi
|