Implement error handling in app.py, update deployment instructions in README_DASHBOARD.md, and modify deploy.sh for rsync-based deployment. Adjust base.html to safely access session variables.

This commit is contained in:
2026-02-18 08:30:38 +02:00
parent ff44ea4927
commit 9193f2a7b1
5 changed files with 70 additions and 42 deletions

8
deploy/deploy-from-pc.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
# Deploy from this PC via SSH: upload project with rsync, then setup/restart on server.
# Usage: ./deploy/deploy-from-pc.sh
# Requires: rsync, SSH access to root@10.110.60.210 (LXC has no Git access).
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$(dirname "$SCRIPT_DIR")"
exec "$SCRIPT_DIR/deploy.sh"