From 8b74e14c4f9e9ca3762795a19411bdb68d0d6bcb Mon Sep 17 00:00:00 2001 From: Laurence Isla Date: Mon, 8 Nov 2021 12:27:22 -0500 Subject: [PATCH] Use tabs to show different installation methods --- install.rst | 50 ++++++++++++++++++++++++++++++++++---------------- postgrest.dict | 1 - 2 files changed, 34 insertions(+), 17 deletions(-) diff --git a/install.rst b/install.rst index 2c03932e1..2d789ad08 100644 --- a/install.rst +++ b/install.rst @@ -6,36 +6,54 @@ Installation The release page has `pre-compiled binaries for Mac OS X, Windows, Linux and FreeBSD `_ . The Linux binary is a static executable that can be run on any Linux distribution. -If you use **macOS Homebrew**, then you can install PostgREST from the `official repo `_. +You can also use your OS package manager. -.. code:: bash +.. tabs:: - brew install postgrest + .. group-tab:: Mac OSX -If you use **FreeBSD**, then you can install PostgREST from the `official ports `_. + You can install PostgREST from the `Homebrew official repo `_. -.. code:: bash + .. code:: bash - pkg install hs-postgrest + brew install postgrest -If you use **Arch Linux**, then you can install PostgREST from the `community repo `_. + .. group-tab:: FreeBSD -.. code:: bash + You can install PostgREST from the `official ports `_. - pacman -S postgrest + .. code:: bash -If you use **Nix**, then you can install PostgREST from nixpkgs. + pkg install hs-postgrest -.. code:: bash + .. group-tab:: Linux - nix-env -i haskellPackages.postgrest + .. tabs:: -If you use Windows, you can install PostgREST using `Chocolatey `_ or `Scoop `_. + .. tab:: Arch Linux -.. code:: bash + You can install PostgREST from the `community repo `_. - choco install postgrest - scoop install postgrest + .. code:: bash + + pacman -S postgrest + + .. tab:: Nix + + You can install PostgREST from nixpkgs. + + .. code:: bash + + nix-env -i haskellPackages.postgrest + + .. group-tab:: Windows + + You can install PostgREST using `Chocolatey `_ or `Scoop `_. + + .. code:: bash + + choco install postgrest + scoop install postgrest Running PostgREST ================= diff --git a/postgrest.dict b/postgrest.dict index 5a2689239..684faa934 100644 --- a/postgrest.dict +++ b/postgrest.dict @@ -75,7 +75,6 @@ logins lon lt lte -macOS middleware misprediction Mithril