From 42fc9a475070728fde00909310cd7a995168425b Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Thu, 30 Apr 2026 16:10:11 +0200 Subject: Add some shell helpers --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 2cce13b..f5c9e26 100644 --- a/README.md +++ b/README.md @@ -19,14 +19,16 @@ returns 404. ## Install -Build from source: +On the server, you need the `estampa` binary (CGI handler + cleanup +tool) and the `estampa-ssh` wrapper (forced command for the upload +account). Build from source: ```sh cargo build --release sudo install -m 755 target/release/estampa /usr/bin/estampa +sudo install -m 755 extras/estampa-ssh /usr/local/bin/estampa-ssh ``` -Prebuilt packages are available on [build.r.bdr.sh][build]. ## Serving (nginx + fcgiwrap) @@ -74,7 +76,7 @@ To wire that up: ```sh sudo install -d -m 755 /srv/estampa -sudo useradd estampa -s /usr/sbin/nologin --home /srv/http/estampa +sudo useradd estampa -s /usr/sbin/nologin --home /srv/estampa sudo chown estampa:estampa /srv/estampa sudo install -d -m 700 -o estampa -g estampa /srv/estampa/.ssh sudo -u estampa touch /srv/estampa/.ssh/authorized_keys -- cgit