#!/bin/bash # rsync-deploy scenegod to the dealgod VPS (NOT a git checkout there — meshgod model). set -e VPS=root@100.94.195.115 rsync -az --delete \ --exclude .git --exclude .venv --exclude assets --exclude scenes \ --exclude renders --exclude '*.pyc' --exclude __pycache__ --exclude .env \ "$(cd "$(dirname "$0")/.." && pwd)/" "$VPS":/opt/scenegod/ ssh "$VPS" 'mkdir -p /opt/scenegod-data/{assets,scenes,renders} && cd /opt/scenegod/deploy && docker compose up -d --build'