xvadur/Aethero_github
0
1#!/bin/bash2 3# ๐ท๏ธ AetheroOS Spider-Man Dashboard Deploy Script4# Prepares Spider-Man themed dashboard for Vercel deployment and pushes to GitHub5 6echo "๐ท๏ธ Preparing AetheroOS Spider-Man Dashboard for Vercel deployment..."7 8# 1. Ensure public directory exists9mkdir -p dashboard/public10 11# 2. Copy any new HTML/CSS/JS files to public (if they exist in dashboard root)12mv dashboard/*.html dashboard/*.css dashboard/*.js dashboard/public/ 2>/dev/null || true13 14# 3. Verify vercel.json configuration15if [ ! -f "dashboard/vercel.json" ]; then16 echo "๐ Creating vercel.json..."17 cat > dashboard/vercel.json <<EOF18{19 "outputDirectory": "public",20 "buildCommand": "npm run build",21 "framework": "other"22}23EOF24fi25 26# 4. Verify package.json configuration27if [ ! -f "dashboard/package.json" ]; then28 echo "๐ Creating package.json..."29 cat > dashboard/package.json <<EOF30{31 "name": "aethero-dashboard",32 "version": "1.0.0",33 "description": "AetheroOS Introspective Dashboard",34 "scripts": {35 "dev": "python -m http.server 3000",36 "build": "echo 'Static files ready for deployment'",37 "start": "python -m http.server 8080"38 },39 "author": "AetheroOS",40 "license": "MIT"41}42EOF43fi44 45# 5. Git operations46echo "๐ฆ Committing and pushing changes..."47git add .48git commit -m "Dashboard update: $(date '+%Y-%m-%d %H:%M:%S')"49git push origin main50 51echo "โ
Dashboard deployed! Check https://vercel.com/xvadurs-projects/aethero-github for build status."52echo "๐ Your dashboard will be available at the Vercel URL once deployment completes."53 