From bc884efab2f78a9d61d17d5ccb89aa6260dd6f67 Mon Sep 17 00:00:00 2001 From: Fergal Moran Date: Sun, 8 Nov 2015 21:30:46 +0000 Subject: [PATCH] Added migrations to startup --- run_web.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/run_web.sh b/run_web.sh index 3b38f21..15aca67 100755 --- a/run_web.sh +++ b/run_web.sh @@ -1,2 +1,3 @@ #!/bin/sh +su -m djworker -c "python manage.py migrate" su -m djworker -c "python manage.py runserver_plus 0.0.0.0:8001"