Skip to content
This repository
tree: 276ddc99a9
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 21 lines (17 sloc) 0.564 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#
# source default.env then this file
#
export DJANGO_SETTINGS_MODULE=conf.demo

#
# extract the parameters from the django settings file
#
echo "*** reading DJANGO_SETTINGS_MODULE=$DJANGO_SETTINGS_MODULE"

export SQLITE_DBNAME=`python -m main.bin.extract SQLITE_DBNAME`
export PG_DBNAME=`python -m main.bin.extract PG_DBNAME`
export PG_USER=`python -m main.bin.extract PG_USER`

if [ -n "$PG_DBNAME" ]; then
    echo "*** postgresql PG_DBNAME=$PG_DBNAME, PG_USER=$PG_USER"
fi

if [ -n "$SQLITE_DBNAME" ]; then
    echo "*** sqlite SQLITE_DBNAME=$SQLITE_DBNAME"
fi
Something went wrong with that request. Please try again.