#!/bin/bash # Sovereign Subconscious — Space Setup Script # Use this to prepare your code for Hugging Face deployment. echo "╔══════════════════════════════════════════════╗" echo "║ SOVEREIGN SUBCONSCIOUS DEPLOYMENT ║" echo "╚══════════════════════════════════════════════╝" # 1. Prepare Dockerfile echo "[1/3] Preparing Cloud Dockerfile..." cp backend/app/scratch/Dockerfile.subconscious Dockerfile # 2. Instruction Guide echo "[2/3] Preparing Git Instructions..." echo "" echo "To deploy to Hugging Face, follow these steps manually:" echo "1. Create a new 'Space' on Hugging Face (SDK: Docker, License: MIT)." echo "2. In your terminal, run:" echo " git remote add hf https://huggingface.co/spaces/Paritosh-Sovereign/Friday-Subconscious" echo " git add backend Dockerfile .env" echo " git commit -m 'Deploying Sovereign Subconscious'" echo " git push hf main" echo "" echo "[3/3] FINAL STEP: SECRETS" echo "Log into Hugging Face, go to Settings -> Variables and Secrets." echo "Add your SUPABASE_URL and SUPABASE_KEY as SECRETS to ensure safety." echo "════════════════════════════════════════════════" echo "The String is ready. Standing by for deployment."