-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdeploy_production.sh
More file actions
executable file
·45 lines (37 loc) · 1.27 KB
/
deploy_production.sh
File metadata and controls
executable file
·45 lines (37 loc) · 1.27 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
#!/bin/bash
# Production Deployment Script for StrunzKnowledge
# Complete FastMCP to Official MCP SDK Migration
# Version: 3.0.0
echo "🚀 Starting Production Deployment..."
echo "=================================="
# Set all feature flags for production
export ENABLE_BATCH2_MIGRATION=true
export ENABLE_BATCH3_MIGRATION=true
export ENABLE_BATCH4_MIGRATION=true
echo "✅ Feature flags set:"
echo " - ENABLE_BATCH2_MIGRATION: $ENABLE_BATCH2_MIGRATION"
echo " - ENABLE_BATCH3_MIGRATION: $ENABLE_BATCH3_MIGRATION"
echo " - ENABLE_BATCH4_MIGRATION: $ENABLE_BATCH4_MIGRATION"
# Optional: Set Gemini API key if available
if [ -n "$GOOGLE_GEMINI_API_KEY" ]; then
echo "✅ Gemini API key detected - AI features will be available"
else
echo "ℹ️ No Gemini API key - AI features will be disabled"
fi
# Deploy to Railway
echo ""
echo "📦 Deploying to Railway..."
railway up
# Check deployment status
echo ""
echo "🔍 Checking deployment status..."
railway status
echo ""
echo "✅ Production deployment initiated!"
echo "=================================="
echo ""
echo "Next steps:"
echo "1. Monitor Railway logs: railway logs --tail"
echo "2. Test all 24 tools are working"
echo "3. Verify Claude.ai shows 'Connected'"
echo "4. Monitor for 48 hours before removing feature flags"