Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Site
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software/vole.git

Self-hosted forge that lives in your Git repo.

Restructure documentation around reader tasks

348a43c364fbb04be834af44a7cd43a0931fa280 · Keenan Nemetz · 20d ago · parent b7383c19

Restructure documentation around reader tasks

Group the site by getting started, collaboration, CI, publishing, and administration. Rewrite the guides as executable procedures and move issue formats, merge semantics, configuration defaults, customization, and access-control mechanics into dedicated references.

Verify the quickstart and review flow against a throwaway instance, execute the service recipe, inspect the rendered site, and run the complete verify workflow.

Closes: 01M7B6X6RDYBAP3JVA5SYSA1K8

docs/install.md +59−43

@@ -1,40 +1,50 @@
1 1 # Install
2 2
3 Three ways to get a `vole` binary. Pick the one that matches the machine you will
4 run it on. Every way ends the same: `vole version` prints a version.
3 Install Vole on Linux with a package, a release binary, or a source build. Each
4 path ends with the same check: `vole version` prints the installed version.
5 5
6 | Way | Use it when | Needs |
6 | Method | Best for | Requirements |
7 7 |---|---|---|
8 | [Package](#package) | The machine runs Debian, Ubuntu, Fedora, RHEL, or Rocky | Nothing; the package pulls in Git and SQLite |
9 | [Release binary](#release-binary) | Another Linux machine, `amd64` or `arm64` | Git, and `libsqlite3` with FTS5 |
10 | [Build from source](#build-from-source) | You are changing Vole, or no binary fits | Go 1.27.4, a C compiler, SQLite headers |
8 | [Package](#install-a-package) | Debian, Ubuntu, Fedora, RHEL, or Rocky servers | `sudo` access |
9 | [Release binary](#install-a-release-binary) | Another Linux machine | Git and SQLite with FTS5 |
10 | [Build from source](#build-from-source) | Developing Vole or using an unsupported platform | Go, a C compiler, and Git |
11 11
12 You also want an SSH key. Vole uses it to recognise you when you push, and a key
13 you already use with another forge works.
12 Download packages and binaries from the
13 [Vole release page](https://rodent.software/vole/releases). Releases provide
14 `amd64` and `arm64` files plus `SHA256SUMS`. Vole does not currently sign release
15 artifacts, so checksums detect a corrupted or mismatched download; they do not
16 authenticate the server that supplied them.
14 17
15 ## Package
18 ## Install a package
16 19
17 Download the `.deb` or `.rpm` for the machine's architecture from the
18 [release page](https://rodent.software/vole/releases), then install it with the
19 system package manager:
20 Download the `.deb` or `.rpm` for your architecture and its `SHA256SUMS` file.
21 Verify the download, then install it:
20 22
21 23 ```sh
22 sudo dpkg -i vole_0.2.0-1_amd64.deb # Debian, Ubuntu
23 sudo dnf install ./vole-0.2.0-1.x86_64.rpm # Fedora, RHEL, Rocky
24 sha256sum -c --ignore-missing SHA256SUMS
25 sudo dpkg -i vole_0.2.0-1_amd64.deb # Debian or Ubuntu
26 sudo dnf install ./vole-0.2.0-1.x86_64.rpm # Fedora, RHEL, or Rocky
27 ```
28
29 Use the `arm64` package on an ARM machine; its RPM architecture is `aarch64`.
30 The package installs `vole`, systemd units, and `/etc/vole/vole.toml`. It also
31 installs Git and SQLite as dependencies.
32
33 ```sh
34 vole version
24 35 ```
25 36
26 The package installs the binary, a hardened systemd unit, and a configuration
27 file at `/etc/vole/vole.toml`. It has no apt or dnf repository behind it and no
28 signature yet, so each release page carries `SHA256SUMS`; compare it before you
29 install. [Packages](packaging.md) lists every path the package writes and how to
30 upgrade.
37 ```text
38 0.2.0
39 ```
31 40
32 The deployment guides use this same file, on a machine that configures itself on
33 first boot: [Deploying](deploy/index.md).
41 The package does not create an instance admin or start the forge. To configure a
42 server, continue with [Deploy a server](deploy/index.md). For the package's paths
43 and upgrade procedure, see [Packages and upgrades](packaging.md).
34 44
35 ## Release binary
45 ## Install a release binary
36 46
37 Each release attaches a binary per architecture, beside `SHA256SUMS`:
47 These commands install the `amd64` binary for version 0.2.0 in `~/.local/bin`:
38 48
39 49 ```sh
40 50 tag=v0.2.0
@@ -42,41 +52,47 @@ base=https://rodent.software/vole/releases/$tag/artifacts
42 52 curl -LO "$base/vole-linux-amd64"
43 53 curl -LO "$base/SHA256SUMS"
44 54 sha256sum -c --ignore-missing SHA256SUMS
55 mkdir -p ~/.local/bin
45 56 install -m 0755 vole-linux-amd64 ~/.local/bin/vole
57 vole version
46 58 ```
47 59
48 The binary links SQLite dynamically, so the machine needs `libsqlite3.so.0`
49 (`libsqlite3-0` on Debian and Ubuntu, `sqlite-libs` on Fedora, RHEL, and Rocky)
50 built with FTS5, which is what search uses. Every distribution listed enables it.
51 Git must be installed as well; Vole runs the real `git` rather than
52 reimplementing it.
60 Replace `vole-linux-amd64` with `vole-linux-arm64` on an ARM machine. Make sure
61 `~/.local/bin` is on your `PATH`.
53 62
54 Use `vole-linux-arm64` on an ARM machine.
63 The binary needs Git and `libsqlite3.so.0` built with FTS5. Install
64 `libsqlite3-0` on Debian or Ubuntu, or `sqlite-libs` on Fedora, RHEL, or Rocky.
55 65
56 66 ## Build from source
57 67
58 This is the path for working on Vole. It needs:
68 Use this path when you want to change Vole. You need Git, a C compiler, and Go
69 with toolchain management. `go.mod` selects Go 1.27.4 and downloads that
70 toolchain when needed.
59 71
60 - Go 1.27.4 or newer. `go.mod` pins that toolchain, so an older `go` on your
61 `PATH` fetches it on the first build instead of failing.
62 - A C compiler and the SQLite development headers: `libsqlite3-dev` on Debian and
63 Ubuntu, `sqlite-devel` on Fedora and RHEL. Vole links SQLite dynamically, so the
64 binary still needs `libsqlite3.so.0` where it runs, and the library must have
65 FTS5.
72 For a binary that matches the release build, also install the SQLite development
73 headers: `libsqlite3-dev` on Debian or Ubuntu, or `sqlite-devel` on Fedora or
74 RHEL. Then build from a checkout:
66 75
67 76 ```sh
68 77 git clone <repository-url>
69 78 cd vole
70 79 go build -tags libsqlite3,sqlite_fts5 -o vole ./cmd/vole
80 ./vole version
81 ```
82
83 The `libsqlite3` tag links the system SQLite library, and `sqlite_fts5` enables
84 full-text search. For a local build without SQLite development headers, omit
85 `libsqlite3`; the resulting binary uses the driver's bundled SQLite:
86
87 ```sh
88 go build -tags sqlite_fts5 -o vole ./cmd/vole
71 89 ```
72 90
73 `-tags sqlite_fts5` asks for the FTS5 module; `-tags libsqlite3` links the system
74 library instead of the driver's bundled copy, which is what the packages depend
75 on. Leaving out `libsqlite3` gives a binary that carries its own SQLite and works
76 on a machine without the development package. SQLite needs cgo, so `CGO_ENABLED=0`
77 builds nothing useful.
91 SQLite requires cgo, so do not set `CGO_ENABLED=0`. See
92 the source repository's `DEVELOPMENT.md` for tests and a throwaway development
93 instance.
78 94
79 95 ## Next
80 96
81 [Quickstart](quickstart.md) takes an installed binary to a repository you can
82 clone.
97 [Quickstart](quickstart.md) takes an installed binary to a repository with a
98 first commit and an issue.