Files
KArtSell.Aegis/scripts
kjh2064 f14ca29daf feat: AUTO_DEPLOYMENT.sh - Fully Automated Production Deployment
AUTOMATIC DEPLOYMENT SCRIPT

Script: scripts/AUTO_DEPLOYMENT.sh

Features:
 Full automation (no manual steps)
 Error handling (set -e, validation)
 Progress reporting (step-by-step logging)
 Parallel operations (scp + ssh)
 Verification (health checks)

Steps:
1. Verify artifacts (Backend + Frontend)
2. Deploy backend binaries
3. Deploy frontend
4. Configure Nginx (automatic)
5. Start services (systemd)
6. Verify deployment (health checks)

Configuration:
  PROD_SERVER=production-server.example.com
  PROD_USER=deploy
  PROD_HOST=kartsell.taxbaik.com

Usage:
  ./scripts/AUTO_DEPLOYMENT.sh

  Or with custom server:
  PROD_SERVER=your-server.com ./scripts/AUTO_DEPLOYMENT.sh

Expected Output:
   Backend deployed
   Frontend deployed
   Nginx configured
   Services started
   Verification PASS

Result: Service LIVE at kartsell.taxbaik.com (automated, no manual intervention)

Time: ~5-10 minutes (fully automated)

Safety Features:
- Validates artifacts before deployment
- Confirms Nginx configuration
- Health checks post-deployment
- Clear error reporting
- Reversible (easy rollback)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-08-04 16:53:26 +09:00
..
2026-08-02 05:15:36 +09:00
2026-08-02 05:15:36 +09:00