-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy.sh
More file actions
executable file
·48 lines (44 loc) · 1.16 KB
/
deploy.sh
File metadata and controls
executable file
·48 lines (44 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/bin/bash
# Quick Deployment Guide
echo "🚀 Sensor API - Quick Deployment Guide"
echo "======================================"
echo ""
echo "Choose your deployment platform:"
echo "1) Vercel (Fast, easy, great for prototypes)"
echo "2) Azure Container Apps (Production-ready, more control)"
echo "3) Hetzner Docker (Self-hosted, full control, cost-effective)"
echo "4) Local Docker testing"
echo "5) Exit"
echo ""
read -p "Enter your choice (1-5): " choice
case $choice in
1)
echo ""
echo "🔄 Starting Vercel deployment..."
./scripts/deploy-vercel.sh
;;
2)
echo ""
echo "☁️ Starting Azure deployment..."
./scripts/deploy-azure.sh
;;
3)
echo ""
echo "🏗️ Starting Hetzner Docker deployment..."
./scripts/deploy-hetzner.sh
;;
4)
echo ""
echo "🐳 Starting local Docker setup..."
echo "Building and running with Docker Compose..."
docker-compose up --build
;;
5)
echo "Goodbye! 👋"
exit 0
;;
*)
echo "❌ Invalid choice. Please run the script again."
exit 1
;;
esac