mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 09:58:06 +00:00
run-dev: Automate passing --interface='' for vagrant environment.
Fixes #877.
This commit is contained in:
@@ -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].
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user