Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

docs: Add Arch Linux section to recommended setup tutorial.

Apoorva Pendsebffb56e55224
diff --git a/docs/development/setup-recommended.md b/docs/development/setup-recommended.md
index 54850bda6e0..aecb1d31146 100644
--- a/docs/development/setup-recommended.md
+++ b/docs/development/setup-recommended.md
@@ -69,6 +69,12 @@ the internet.)
- tested for Fedora 36
:::
+:::{tab-item} Arch
+:sync: os-arch
+
+- Arch Linux (rolling release)
+ :::
+
:::{tab-item} Other Linux
:sync: os-other-linux
@@ -234,6 +240,34 @@ docker distribution, you can follow
:::
+:::{tab-item} Arch
+:sync: os-arch
+
+##### 1. Install Vagrant, Docker, and Git
+
+Install Docker and Git from the official repositories:
+
+```console
+$ sudo pacman -S --needed docker git
+```
+
+Vagrant is not packaged in Arch's official repositories. Install it
+from the [AUR](https://wiki.archlinux.org/title/Arch_User_Repository)
+(for example with an AUR helper such as `yay` or `paru`):
+
+```console
+$ yay -S vagrant
+```
+
+Alternatively, you can download the binary from
+[HashiCorp](https://developer.hashicorp.com/vagrant/install).
+
+```{include} setup/install-docker.md
+
+```
+
+:::
+
::::
### Step 2: Get Zulip code
@@ -382,6 +416,23 @@ whenever you need to re-provision.
:::
+:::{tab-item} Arch
+:sync: os-arch
+
+```{include} setup/vagrant-up.md
+
+```
+
+```{include} setup/vagrant-up-details.md
+
+```
+
+```{include} setup/vagrant-ssh.md
+
+```
+
+:::
+
::::
### Step 4: Developing
@@ -460,6 +511,15 @@ to open VS Code connected to your WSL environment. See the [Remote development i
:::
+:::{tab-item} Arch
+:sync: os-arch
+
+```{include} setup/vscode-vagrant.md
+
+```
+
+:::
+
::::
#### Understanding run-dev debugging output
@@ -543,6 +603,15 @@ help.
:::
+:::{tab-item} Arch
+:sync: os-arch
+
+```{include} setup/vagrant-update.md
+
+```
+
+:::
+
::::
#### Rebuilding the development environment
@@ -594,6 +663,15 @@ help.
:::
+:::{tab-item} Arch
+:sync: os-arch
+
+```{include} setup/vagrant-rebuild.md
+
+```
+
+:::
+
::::
#### Shutting down the development environment for use later
@@ -650,6 +728,15 @@ Alternatively, you can use a command to terminate/shutdown your WSL2 environment
:::
+:::{tab-item} Arch
+:sync: os-arch
+
+```{include} setup/vagrant-halt.md
+
+```
+
+:::
+
::::
#### Resuming the development environment
@@ -706,6 +793,15 @@ $ source .venv/bin/activate
:::
+:::{tab-item} Arch
+:sync: os-arch
+
+```{include} setup/vagrant-resume.md
+
+```
+
+:::
+
::::
### Next steps
@@ -808,6 +904,19 @@ WSL instance) is also usually helpful.
```
+:::
+
+:::{tab-item} Arch
+:sync: os-arch
+
+```{include} setup/shared-vagrant-errors.md
+
+```
+
+```{include} setup/unix-troubleshoot.md
+
+```
+
:::
::::