From ce5e9093e63b6cb23630c3145f8e148e89f603b9 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 24 Sep 2015 19:07:40 -0700 Subject: [PATCH] Add missing --interface option for run-dev.py. (imported from commit 94628eaa4d62597eda44f6f53be8bde4dfc33cfc) --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e9fe36b502..775bc47408 100644 --- a/README.md +++ b/README.md @@ -21,11 +21,16 @@ Once that finishes, you can run the development server as follows: # Now inside the container cd /srv/zulip source /srv/zulip-venv/bin/activate - ./tools/run-dev.py + ./tools/run-dev.py --interface='' You can now visit in your browser. To get shell access to the virtual machine running the server, use `vagrant ssh`. +(A small note on tools/run-dev.py: the --interface='' option will make +the development server listen on all network interfaces. While this +is correct for the Vagrant guest sitting behind a NAT, you probably +don't want to use that option when using run-dev.py in other environments). + The run-dev.py console output will show any errors your Zulip development server encounters. It runs on top of Django's "manage.py runserver" tool, which will automatically restart the Zulip server