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:
8
deploy/deploy-from-pc.sh
Executable file
8
deploy/deploy-from-pc.sh
Executable 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"
|
||||
Reference in New Issue
Block a user