Commit 2bfe8282 authored by Roberto Rosario's avatar Roberto Rosario

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

and port from which to serve
parent ba928c22
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment