Files
architect-frontend/deploy.sh
ARCHITECT f0d949c2a6 Initial commit: architect-frontend infrastructure viewer
- Vite + TypeScript + D3.js setup
- Infrastructure graph view (servers, services, connections)
- Tables graph view with categories (core, directus, storage, etc.)
- PostgREST API integration
- Deploy script for Caddy static serving

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 22:55:55 +00:00

16 lines
321 B
Bash
Executable File

#!/bin/bash
# Deploy frontend ARCHITECT a /opt/architect/web/
set -e
DIR="$(cd "$(dirname "$0")" && pwd)"
cd "$DIR"
echo "Building..."
npm run build
echo "Deploying..."
ssh -i ~/.ssh/tzzr root@69.62.126.110 "rm -rf /opt/architect/web/* && cp -r $DIR/dist/* /opt/architect/web/"
echo "Done: https://tzzrarchitect.me"