Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
docs: Share Docker vagrant up steps via the vagrant-up include.
Apoorva Pendse2281b77c9e0a
diff --git a/docs/development/setup-recommended.md b/docs/development/setup-recommended.mdindex 6056509aa01..54850bda6e0 100644--- a/docs/development/setup-recommended.md+++ b/docs/development/setup-recommended.md@@ -306,7 +306,7 @@ $ vagrant plugin install vagrant-vbguest$ vagrant up --provider=virtualbox```-```{include} setup/vagrant-up.md+```{include} setup/vagrant-up-details.md```@@ -323,12 +323,8 @@ normal and is not a problem.:::{tab-item} macOS:sync: os-mac-Change into the zulip directory and tell Vagrant to start the Zulip-development environment with `vagrant up`:+```{include} setup/vagrant-up.md-```console-$ cd zulip-$ vagrant up --provider=docker```**Important note**: There is a [known upstream issue on@@ -342,7 +338,7 @@ Docker, you should return to using VirtioFS so that your files syncproperly while developing, but you may need to revert to `osxfs (legacy)`whenever you need to re-provision.-```{include} setup/vagrant-up.md+```{include} setup/vagrant-up-details.md```@@ -355,15 +351,11 @@ whenever you need to re-provision.:::{tab-item} Ubuntu/Debian:sync: os-ubuntu-Change into the zulip directory and tell Vagrant to start the Zulip-development environment with `vagrant up`:+```{include} setup/vagrant-up.md-```console-$ cd zulip-$ vagrant up --provider=docker```-```{include} setup/vagrant-up.md+```{include} setup/vagrant-up-details.md```@@ -376,15 +368,11 @@ $ vagrant up --provider=docker:::{tab-item} Fedora:sync: os-fedora-Change into the zulip directory and tell Vagrant to start the Zulip-development environment with `vagrant up`:+```{include} setup/vagrant-up.md-```console-$ cd zulip-$ vagrant up --provider=docker```-```{include} setup/vagrant-up.md+```{include} setup/vagrant-up-details.md```diff --git a/docs/development/setup/vagrant-up-details.md b/docs/development/setup/vagrant-up-details.mdnew file mode 100644index 00000000000..b3595170c2a--- /dev/null+++ b/docs/development/setup/vagrant-up-details.md@@ -0,0 +1,25 @@+The first time you run this command it will take some time because Vagrant+does the following:++- downloads the base Ubuntu 22.04 virtual machine/Docker image+- configures this virtual machine/container for use with Zulip,+- creates a shared directory mapping your clone of the Zulip code inside the+ virtual machine/container at `~/zulip`+- runs the `./tools/provision` script inside the virtual machine/container, which+ downloads all required dependencies, sets up the Python environment for+ the Zulip development server, and initializes a default test+ database. We call this process "provisioning", and it is documented+ in some detail in our [dependencies documentation](/subsystems/dependencies.md).++You will need an active internet connection during the entire+process. (See [Specifying a proxy](/development/setup-recommended.md#specifying-a-proxy) if you need a+proxy to access the internet.) `vagrant up` can fail while+provisioning if your Internet connection is unreliable. To retry, you+can use `vagrant provision` (`vagrant up` will just boot the guest+without provisioning after the first time). Other common issues are+documented in the+[Troubleshooting and common errors](/development/setup-recommended.md#troubleshooting-and-common-errors)+section. If that doesn't help, please visit+[#provision help](https://chat.zulip.org/#narrow/channel/21-provision-help)+in the [Zulip development community server](https://zulip.com/development-community/) for+real-time help.diff --git a/docs/development/setup/vagrant-up.md b/docs/development/setup/vagrant-up.mdindex b3595170c2a..3d76e2e5d45 100644--- a/docs/development/setup/vagrant-up.md+++ b/docs/development/setup/vagrant-up.md@@ -1,25 +1,7 @@-The first time you run this command it will take some time because Vagrant-does the following:+Change into the zulip directory and tell Vagrant to start the Zulip+development environment with `vagrant up`:-- downloads the base Ubuntu 22.04 virtual machine/Docker image-- configures this virtual machine/container for use with Zulip,-- creates a shared directory mapping your clone of the Zulip code inside the- virtual machine/container at `~/zulip`-- runs the `./tools/provision` script inside the virtual machine/container, which- downloads all required dependencies, sets up the Python environment for- the Zulip development server, and initializes a default test- database. We call this process "provisioning", and it is documented- in some detail in our [dependencies documentation](/subsystems/dependencies.md).--You will need an active internet connection during the entire-process. (See [Specifying a proxy](/development/setup-recommended.md#specifying-a-proxy) if you need a-proxy to access the internet.) `vagrant up` can fail while-provisioning if your Internet connection is unreliable. To retry, you-can use `vagrant provision` (`vagrant up` will just boot the guest-without provisioning after the first time). Other common issues are-documented in the-[Troubleshooting and common errors](/development/setup-recommended.md#troubleshooting-and-common-errors)-section. If that doesn't help, please visit-[#provision help](https://chat.zulip.org/#narrow/channel/21-provision-help)-in the [Zulip development community server](https://zulip.com/development-community/) for-real-time help.+```console+$ cd zulip+$ vagrant up --provider=docker+```