# 🚀 LOOPUMAN LAUNCH COMMANDS

## Pre-Launch Testing
```bash
# Test all services
pm2 list

# Check for errors
pm2 logs --lines 20 --nostream | grep -i error

# Verify database
node -e "require('dotenv').config(); const sb = require('@supabase/supabase-js').createClient(process.env.SUPABASE_URL, process.env.SUPABASE_SERVICE_KEY); sb.from('tasks').select('*', {count:'exact',head:true}).then(r => console.log('Tasks:', r.count));"
```

## Monitor During Launch
```bash
# Live logs
pm2 logs

# Watch specific service
pm2 logs telegram-bot
pm2 logs whatsapp-bot
pm2 logs ai-agents
```

## Emergency Commands
```bash
# Restart all
pm2 restart all

# Restart specific
pm2 restart telegram-bot

# Check memory
pm2 monit
```

## Daily Health Check
```bash
# Quick status
pm2 list && echo "" && node -e "require('dotenv').config();const sb=require('@supabase/supabase-js').createClient(process.env.SUPABASE_URL,process.env.SUPABASE_SERVICE_KEY);Promise.all([sb.from('app_users').select('*',{count:'exact',head:true}),sb.from('tasks').select('*',{count:'exact',head:true}),sb.from('submissions').select('*',{count:'exact',head:true})]).then(([u,t,s])=>console.log('Users:',u.count,'Tasks:',t.count,'Subs:',s.count));"
```

## 🎯 LAUNCH READY
- All systems: ✅
- AI agents: ✅
- Payments: ✅
- Enterprise API: ✅

GO GET THOSE USERS! 🚀
