nicer logging
This commit is contained in:
parent
be41fe9dbe
commit
ff3864b347
1 changed files with 1 additions and 0 deletions
|
@ -122,6 +122,7 @@ MANAGE="sudo -H -u $PANDORA /srv/pandora/pandora/manage.py"
|
||||||
mkdir /srv/pandora/data
|
mkdir /srv/pandora/data
|
||||||
chown -R $PANDORA:$PANDORA /srv/pandora
|
chown -R $PANDORA:$PANDORA /srv/pandora
|
||||||
|
|
||||||
|
echo "Initialize database..."
|
||||||
cd /srv/pandora/pandora
|
cd /srv/pandora/pandora
|
||||||
$MANAGE init_db
|
$MANAGE init_db
|
||||||
echo "UPDATE django_site SET domain = '$HOST.local', name = '$HOST.local' WHERE 1=1;" | $MANAGE dbshell
|
echo "UPDATE django_site SET domain = '$HOST.local', name = '$HOST.local' WHERE 1=1;" | $MANAGE dbshell
|
||||||
|
|
Loading…
Reference in a new issue