Skip to content

Commit

Permalink
Fixed serve script
Browse files Browse the repository at this point in the history
  • Loading branch information
lvidarte committed Jan 31, 2015
1 parent cdefc03 commit e67271f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/serve.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash

ADDR=${2:-localhost}
PORT=${3:-8000}
ADDR=${1:-localhost}
PORT=${2:-8000}

echo "Running $SITE server on $ADDR:$PORT .."
echo "Running server on $ADDR:$PORT .."
source env/bin/activate \
&& python manage.py runserver $ADDR:$PORT
deactivate

0 comments on commit e67271f

Please sign in to comment.