mirror of
https://github.com/xerj-org/xerj.git
synced 2026-12-03 20:11:52 +08:00
docs+site: correct two overstatements the install-first review flagged
The adversarial review of the install-first restructure (PR #219) verified the pages against the live installers and found two honesty defects: - The hero label and llms.txt claimed unconditional fail-closed SHA-256 verification, but the sh installer skips verification with a warning when the machine has neither sha256sum nor shasum (get lines 95-102). The label now says SHA-256 CHECKSUMS and llms.txt states the exact behaviour. - README's first-commands line assumed xerj is on PATH (the sh installer does not edit PATH) and hid a real boot window: autoindex run immediately after backgrounding the server exits 1 with 'endpoint unreachable' (reproduced with the rc.12 binary, ~2-6s to ready). The line now carries the PATH pointer and a wait-until-:9200-responds step.
This commit is contained in:
@@ -21,8 +21,10 @@ on x86-64 and arm64. You can also [build from source](#build-from-source). It
|
||||
speaks the Elasticsearch API, so existing clients, dashboards and tooling work
|
||||
against it unchanged.
|
||||
|
||||
First commands after install: `xerj --insecure --data-dir ./data &` then
|
||||
`xerj autoindex ~/my-project` — see [Index a folder](#index-a-folder).
|
||||
First commands after install (the installer prints where `xerj` landed — add it to
|
||||
your PATH if needed): `xerj --insecure --data-dir ./data &`, wait until
|
||||
`http://localhost:9200` responds, then `xerj autoindex ~/my-project` — see
|
||||
[Index a folder](#index-a-folder).
|
||||
|
||||
[](https://github.com/xerj-org/xerj/actions/workflows/ci.yml)
|
||||
[](./LICENSE)
|
||||
|
||||
+1
-1
@@ -51,7 +51,7 @@
|
||||
<h1 class="hero"><span class="accent">XERJ.</span><br>ONE ENGINE.<br>ZERO STACK.</h1>
|
||||
|
||||
<div class="hero-install">
|
||||
<div class="hero-install-label">INSTALL · ONE COMMAND · SHA-256 VERIFIED</div>
|
||||
<div class="hero-install-label">INSTALL · ONE COMMAND · SHA-256 CHECKSUMS</div>
|
||||
<div class="hero-install-cmd">
|
||||
<code>curl -fsSL https://xerj.org/get | sh</code>
|
||||
<button type="button" class="hero-install-copy" data-copy="curl -fsSL https://xerj.org/get | sh">COPY</button>
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ XERJ is built to be an AI agent's data layer: point it at files and get an API;
|
||||
- Linux / macOS: `curl -fsSL https://xerj.org/get | sh`
|
||||
- Windows PowerShell: `irm https://xerj.org/get.ps1 | iex`
|
||||
|
||||
The installer detects OS/CPU (Linux x86_64/aarch64 static musl, macOS x86_64/arm64, Windows x64/ARM64), downloads the latest GitHub release, verifies its SHA-256 (fail-closed), and installs a single `xerj` binary — default `~/.local/bin` on Unix (it prints the exact path and a PATH hint if that directory is not on your PATH; it does not edit your shell profile), `%LOCALAPPDATA%\Programs\xerj` on Windows (added to the user PATH; opt out with `XERJ_NO_PATH=1`). Pin a version with `XERJ_VERSION=vX.Y.Z`; both scripts honor `XERJ_INSTALL_DIR`.
|
||||
The installer detects OS/CPU (Linux x86_64/aarch64 static musl, macOS x86_64/arm64, Windows x64/ARM64), downloads the latest GitHub release, verifies its SHA-256 (fail-closed on a missing or mismatched checksum; the sh installer skips verification with a warning only if the machine has neither `sha256sum` nor `shasum`), and installs a single `xerj` binary — default `~/.local/bin` on Unix (it prints the exact path and a PATH hint if that directory is not on your PATH; it does not edit your shell profile), `%LOCALAPPDATA%\Programs\xerj` on Windows (added to the user PATH; opt out with `XERJ_NO_PATH=1`). Pin a version with `XERJ_VERSION=vX.Y.Z`; both scripts honor `XERJ_INSTALL_DIR`.
|
||||
|
||||
First run, in order (autoindex is a client of a running node at `http://localhost:9200` by default):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user