update vps instructions

This commit is contained in:
Davide Scaini
2026-04-10 15:14:44 +02:00
parent e006175285
commit 5371c77c8f
+7 -1
View File
@@ -72,7 +72,7 @@ while read oldrev newrev refname; do
rsync -a --delete $DEPLOY/site/dist/ /var/www/bincio/ rsync -a --delete $DEPLOY/site/dist/ /var/www/bincio/
echo "--- Restarting API ---" echo "--- Restarting API ---"
systemctl restart bincio systemctl restart bincio || echo "WARNING: bincio service restart failed — check journalctl -u bincio"
echo "--- Done ---" echo "--- Done ---"
done done
@@ -169,6 +169,12 @@ uv run bincio init \
# prompted for password; prints a first invite code # prompted for password; prints a first invite code
``` ```
Enable the edit/upload UI (this env var is read at build time and is gitignored, so it must be set on the server):
```bash
echo "PUBLIC_EDIT_ENABLED=true" > /opt/bincio/site/.env
```
Set the user cap: Set the user cap:
```bash ```bash