git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bug if a platform is disabled but the user still has accounts on this platform
[myslice.git]
/
devel
/
server-loop.sh
diff --git
a/devel/server-loop.sh
b/devel/server-loop.sh
index
a108f93
..
1ac43e4
100755
(executable)
--- a/
devel/server-loop.sh
+++ b/
devel/server-loop.sh
@@
-6,8
+6,10
@@
cd $DIRNAME/..
hostname | grep -q '^z' && port=8080 || port=80
[[ -n "$@" ]] && port=$1
hostname | grep -q '^z' && port=8080 || port=80
[[ -n "$@" ]] && port=$1
-make all-static all-templates
while true; do
while true; do
- ./manage.py runserver 0.0.0.0:$port
+ # we use make for convenience
+ # but what the static target really does is to invoke manage.py collectstatic
make static templates
make static templates
+ ./manage.py runserver 0.0.0.0:$port
+ sleep 1
done
done