ruvector/examples/dragnes/scripts/deploy.sh
rUv fde768f86d refactor(dragnes): move to standalone examples/dragnes/ app
Extract DrAgnes dermatology intelligence platform from ui/ruvocal/ into
a self-contained SvelteKit application under examples/dragnes/. Includes
all library modules, components, API routes, tests, deployment config,
PWA assets, and research documentation. Updated paths for standalone
routing (no /dragnes prefix), fixed static asset references, and
adjusted test imports.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-21 22:15:50 +00:00

24 lines
597 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
# DrAgnes Cloud Run Deployment Script
PROJECT_ID="${GCP_PROJECT_ID:-ruv-dev}"
REGION="${GCP_REGION:-us-central1}"
IMAGE="gcr.io/${PROJECT_ID}/dragnes:latest"
echo "Building DrAgnes container..."
docker build -t "${IMAGE}" .
echo "Pushing to GCR..."
docker push "${IMAGE}"
echo "Deploying to Cloud Run..."
gcloud run services replace cloud-run.yaml \
--project="${PROJECT_ID}" \
--region="${REGION}"
echo "Done. Service URL:"
gcloud run services describe dragnes \
--project="${PROJECT_ID}" \
--region="${REGION}" \
--format='value(status.url)'