Skip to content

Commit

Permalink
Update install for Nix and v0.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
paulsmith committed Dec 28, 2023
1 parent 98658a1 commit 757a3d4
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 20 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Pushup main website

https://pushup.adhoc.dev/

This is the main website for the Pushup project, including documentation. It
is a Pushup app.
27 changes: 10 additions & 17 deletions app/pages/index.up
Original file line number Diff line number Diff line change
Expand Up @@ -70,28 +70,21 @@
<h2>Getting started</h2>

<ul>
<li><strong>Download Pushup</strong> preview release v0.1
<li>
<p>
<strong>Download Pushup</strong> -
latest release <a href="https://github.com/adhocteam/pushup/releases/tag/v0.2">v0.2</a> (Dec 2023)
</p>
<ul>
<li>Linux
<ul>
<li><a href="https://github.com/adhocteam/pushup/releases/download/v0.1/pushup-linux-arm64.zip">Linux AArch64</a></li>
<li><a href="https://github.com/adhocteam/pushup/releases/download/v0.1/pushup-linux-amd64.zip">Linux x86-64</a></li>
</ul>
</li>
<li>macOS
<ul>
<li><a href="https://github.com/adhocteam/pushup/releases/download/v0.1/pushup-darwin-arm64.zip">macOS Apple silicon</a></li>
<li><a href="https://github.com/adhocteam/pushup/releases/download/v0.1/pushup-darwin-amd64.zip">macOS x86-64</a></li>
</ul>
</li>
<li>OpenBSD
<li><p>From <a href="https://github.com/adhocteam/pushup/releases">official releases page</a></p></li>
<li><p>Via Nix package manager:</p>
<ul>
<li><a href="https://github.com/adhocteam/pushup/releases/download/v0.1/pushup-openbsd-arm64.zip">OpenBSD AArch64</a></li>
<li><a href="https://github.com/adhocteam/pushup/releases/download/v0.1/pushup-openbsd-amd64.zip">OpenBSD x86-64</a></li>
<li><code>nix-env -iA nixpkgs.pushup</code></li>
<li>or as a flake <kbd>github:adhocteam/pushup</kbd></li>
</ul>
</li>
<li><p>Via Go: <code>go install github.com/adhocteam/pushup@latest</code></p></li>
</ul>
<p>Download Pushup for more platforms on the <a href="https://github.com/adhocteam/pushup/releases">official releases page</a>.
</li>
<li><strong>Read the documentation</strong>
<p><a hx-boost="true" href="/docs/">Pushup docs</a></p>
Expand Down
31 changes: 28 additions & 3 deletions app/static/docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,36 @@ Make sure you have Go installed (at least version 1.18), and type:
go install github.com/adhocteam/pushup@latest
```

#### Install via `homebrew`
#### Install via Nix

Coming soon.
Pushup is available via the [Nix](https://nixos.org/) package manager. It is
currently in the [`unstable` channel](https://search.nixos.org/packages?channel=unstable&query=pushup).

* **Add to your local profile**

```shell
$ nix-env -iA nixpkgs.pushup
```

* **Create a temporary shell**

```shell
$ nix-shell -p pushup
```

* **Create a temporary shell (flakes)**

```shell
$ nix shell nixpkgs#pushup
```

#### Install via Linux package managers
* **Run Pushup without installing (flakes)**

```shell
$ nix run nixpkgs#pushup
````

#### Install via `homebrew`

Coming soon.

Expand Down

0 comments on commit 757a3d4

Please sign in to comment.