mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-26 16:04:02 +00:00
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>
24 lines
597 B
Bash
Executable file
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)'
|