forked from I2P_Developers/i2p.www
Moved setup, translation config files into subdir
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
. ./translation.vars
|
||||
. ./etc/translation.vars
|
||||
|
||||
if [ $# -ge 1 ]
|
||||
then
|
||||
|
@ -1,6 +1,6 @@
|
||||
PROJECT=I2P
|
||||
VERSION=website
|
||||
BABELCFG=babel.cfg
|
||||
BABELCFG=etc/babel.cfg
|
||||
POTDIR=pots
|
||||
PROJDIR=i2p2www
|
||||
TRANSDIR=$PROJDIR/translations
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
. ./translation.vars
|
||||
. ./etc/translation.vars
|
||||
|
||||
if [ ! -e $POTDIR ]; then
|
||||
mkdir $POTDIR
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
. ./translation.vars
|
||||
. ./etc/translation.vars
|
||||
|
||||
if [ $# -ge 1 ]
|
||||
then
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
. ./project.vars
|
||||
. ./etc/project.vars
|
||||
|
||||
if [ ! $venv ]; then
|
||||
echo "ERROR: virtualenv not found!" >&2
|
||||
@ -10,7 +10,7 @@ else
|
||||
fi
|
||||
|
||||
. $venv_dir/bin/activate
|
||||
pip install -r reqs.txt
|
||||
pip install -r etc/reqs.txt
|
||||
# Apply multi-domain patch to Flask-Babel
|
||||
patch -p0 <multi-domain.patch
|
||||
patch -p0 <etc/multi-domain.patch
|
||||
fi
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
. ./translation.vars
|
||||
. ./etc/translation.vars
|
||||
|
||||
if [ $# -ge 1 ]
|
||||
then
|
||||
|
Reference in New Issue
Block a user