changeset 152:1801236f27f0

update deploy.sh
author souliane <souliane@mailoo.org>
date Mon, 30 Oct 2017 23:39:09 +0100
parents 41aaaaf7b7fd
children d9adc73fcd12
files deploy.sh
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/deploy.sh	Mon Oct 30 23:17:38 2017 +0100
+++ b/deploy.sh	Mon Oct 30 23:39:09 2017 +0100
@@ -1,6 +1,8 @@
 #!/bin/bash
 
 hg pull -u
+chown -R www-data:www-data .
 mkdir -p static
 ./manage.py collectstatic
 ./manage.py compilemessages
+./manage.py migrate