Something went wrong. Try again.
Monorepo for Aesthetic.Computer aesthetic.computer
Something went wrong. Try again.
Shell
12345678910111213141516171819202122232425262728293031323334353637#!/usr/bin/env bash# setup-netlify-env.sh# Sets up Netlify environment variables for ATProto integration
set -e
VAULT_ENV="/workspaces/aesthetic-computer/aesthetic-computer-vault/at/.env"
if [ ! -f "$VAULT_ENV" ]; then echo "❌ Vault env file not found: $VAULT_ENV" exit 1fi
echo "🔧 Setting up Netlify environment variables for ATProto integration..."echo ""
# Load env vars from vaultsource "$VAULT_ENV" 2>/dev/null || true
cd /workspaces/aesthetic-computer/system
# Set PDS-related environment variablesecho "Setting PDS_URL..."npx netlify env:set PDS_URL "$PDS_URL" --context production
echo "Setting PDS_ADMIN_PASSWORD..."npx netlify env:set PDS_ADMIN_PASSWORD "$PDS_ADMIN_PASSWORD" --context production
echo ""echo "✅ Netlify environment variables configured!"echo ""echo "Variables added:"echo " - PDS_URL: $PDS_URL"echo " - PDS_ADMIN_PASSWORD: [hidden]"echo ""echo "Note: MongoDB and Auth0 variables should already be set in Netlify."