Add missing --interface option for run-dev.py.

(imported from commit 94628eaa4d62597eda44f6f53be8bde4dfc33cfc)
This commit is contained in:
Tim Abbott 2015-09-24 19:07:40 -07:00
parent 3e5e40a3ed
commit ce5e9093e6
1 changed files with 6 additions and 1 deletions

View File

@ -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 <http://localhost:9991/> 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