diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |