adapted server-loop script to the new static file handling
authorJordan Augé <jordan.auge@lip6.fr>
Thu, 8 Aug 2013 23:38:37 +0000 (01:38 +0200)
committerJordan Augé <jordan.auge@lip6.fr>
Thu, 8 Aug 2013 23:38:37 +0000 (01:38 +0200)
devel/server-loop.sh

index 1eacb71..94215e8 100755 (executable)
@@ -7,6 +7,6 @@ hostname | grep -q '^z' && port=8080 || port=80
 [[ -n "$@" ]] && port=$1
 
 while true; do 
-    make all-static all-templates
+    ./manage.py collectstatic --noinput
     ./manage.py runserver 0.0.0.0:$port
 done