aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRuben Beltran del Rio <jj@r.bdr.sh>2026-04-30 16:10:11 +0200
committerRuben Beltran del Rio <jj@r.bdr.sh>2026-04-30 16:10:20 +0200
commit42fc9a475070728fde00909310cd7a995168425b (patch)
tree9f43a6683750414dfe1ecd0b2ae7de42468550de /README.md
parent8cc11c52a88ec78d175b3ec8de854916f631caab (diff)
Add some shell helpers
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 5 insertions, 3 deletions
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