Permalink
Browse files

runserver.sh now accepts an optional argument to specify the address

and port from which to serve
  • Loading branch information...
1 parent ba928c2 commit 2bfe8282d86cd3796b29d2ee2f7016ce0ba33135 @rosarior committed Sep 26, 2010
Showing with 5 additions and 1 deletion.
  1. +5 −1 runserver.sh
View
@@ -16,4 +16,8 @@
# along with descartes-bi. If not, see <http://www.gnu.org/licenses/>.
#
#!/bin/sh
-./manage.py runserver --adminmedia ./site_media/admin_media/
+if [ -n "$1" ]; then
+ ./manage.py runserver $1 --adminmedia ./site_media/admin_media/
+else
+ ./manage.py runserver --adminmedia ./site_media/admin_media/
+fi

0 comments on commit 2bfe828

Please sign in to comment.