Files
PocketVeto/deploy.sh
Jack Levy 4c86a5b9ca feat: PocketVeto v1.0.0 — initial public release
Self-hosted US Congress monitoring platform with AI policy briefs,
bill/member/topic follows, ntfy + RSS + email notifications,
alignment scoring, collections, and draft-letter generator.

Authored by: Jack Levy
2026-03-15 01:35:01 -04:00

19 lines
485 B
Bash

#!/bin/bash
# PocketVeto — production deploy script
# Run on the server: ./deploy.sh
# Run from laptop: ssh user@server 'bash /opt/civicstack/deploy.sh'
set -e
REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
echo "==> Pulling latest from main..."
cd "$REPO_DIR"
git pull origin main
echo "==> Rebuilding and restarting containers..."
docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d --build
echo "==> Done. Running containers:"
docker compose ps