- 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>
16 lines
321 B
Bash
Executable File
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"
|