feat: add 3D banner logo generated by grok and update deploy script

This commit is contained in:
eldov
2026-08-30 06:43:19 +02:00
parent 0046c92ee3
commit 06e75f282c
4 changed files with 40 additions and 10 deletions
+9 -2
View File
@@ -9,7 +9,7 @@ TARGET_HOST="free-warez.win"
TARGET_DIR="/opt/containers/erugo/views"
LOCAL_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
echo "🚀 Deploying Erugo Views"
echo "🚀 Deploying Erugo Views & Banner Logo"
echo " Target: $TARGET_HOST:$TARGET_DIR"
echo "==============================================="
@@ -24,7 +24,14 @@ fi
echo "🔄 Syncing blade templates & views..."
rsync -avz --delete "$LOCAL_DIR/views/" "$TARGET_HOST:$TARGET_DIR/"
# 3. Restart container to flush template caches
# 3. Sync Logo Banner if present
if [ -f "$LOCAL_DIR/assets/logo.png" ]; then
echo "🎨 Syncing 3D Banner Logo..."
rsync -avz "$LOCAL_DIR/assets/logo.png" "$TARGET_HOST:/opt/containers/erugo/erugo-storage/app/public/images/logo.png"
ssh "$TARGET_HOST" "chown hermes:hermes /opt/containers/erugo/erugo-storage/app/public/images/logo.png && sqlite3 /opt/containers/erugo/erugo-storage/app/private/database.sqlite 'UPDATE settings SET value = 420 WHERE key = \"logo_width\";'"
fi
# 4. Restart container to flush template & asset caches
echo "🔄 Restarting Erugo container..."
ssh "$TARGET_HOST" "docker restart erugo"