run-dev: Automate passing --interface='' for vagrant environment.

Fixes #877.
This commit is contained in:
Tim Abbott
2016-10-03 16:36:38 -07:00
parent 69fa60080c
commit 279f805448
3 changed files with 17 additions and 10 deletions

View File

@@ -62,18 +62,12 @@ Once that finishes, you can run the development server as follows:
```
vagrant ssh
# Now inside the container
/srv/zulip/tools/run-dev.py --interface=''
/srv/zulip/tools/run-dev.py
```
To get shell access to the virtual machine running the server to run
lint, management commands, etc., 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).
At this point you should [read about using the development
environment][using-dev].

View File

@@ -300,7 +300,7 @@ Next, start the Zulip server:
```
(zulip-venv)vagrant@vagrant-ubuntu-trusty-64:~ $
/srv/zulip/tools/run-dev.py --interface=''
/srv/zulip/tools/run-dev.py
```
As you can see above the application's root directory, where you can
@@ -477,7 +477,7 @@ server:
christie@win10 ~/zulip
$ vagrant up
$ vagrant ssh
/srv/zulip/tools/run-dev.py --interface=''
/srv/zulip/tools/run-dev.py
```
#### Next Steps