# 🚀 Quick Start Guide ## Leggyakoribb hasznĂĄlati esetek ### 1ïžâƒŁ Cal.com self-hosted telepĂ­tĂ©s VPS-re **Agentek sorrendje:** 1. `vps-deployment-agent` - VPS elƑkĂ©szĂ­tĂ©s (Docker, Node.js) 2. `calendar-scheduling-agent` - Cal.com telepĂ­tĂ©s 3. `nginx-ssl-agent` - SSL + reverse proxy 4. `email-server-agent` (opcionĂĄlis) - Email notifikĂĄciĂłk **Parancsok:** ```bash # VPS setup ssh root@your-server-ip # HasznĂĄld a vps-deployment-agent system-prompt.md-t # Cal.com telepĂ­tĂ©s # HasznĂĄld a calendar-scheduling-agent system-prompt.md-t # SSL setup # HasznĂĄld a nginx-ssl-agent-et ``` --- ### 2ïžâƒŁ React + Node.js Full-stack app deployment **Agentek sorrendje:** 1. `vps-deployment-agent` - VPS alapok 2. `docker-deployment-agent` - Docker Compose stack 3. `fullstack-deployment-agent` - Teljes deployment 4. `cicd-automation-agent` - GitHub Actions CI/CD **Folyamat:** ```bash # 1. Develop lokĂĄlban react-dev-agent + nodejs-backend-agent # 2. DockerizĂĄlĂĄs docker-deployment-agent # 3. VPS telepĂ­tĂ©s fullstack-deployment-agent # 4. CI/CD cicd-automation-agent ``` --- ### 3ïžâƒŁ Email szerver + API integrĂĄciĂł **Agentek sorrendje:** 1. `vps-deployment-agent` - VPS setup 2. `email-server-agent` - Postal telepĂ­tĂ©s 3. `nodejs-backend-agent` - API integrĂĄciĂł 4. `nginx-ssl-agent` - SSL **Use case:** - Transactional emails (registration, password reset) - Newsletter rendszer - SendGrid alternatĂ­va (költsĂ©gcsökkentĂ©s) --- ### 4ïžâƒŁ Self-hosted alternatĂ­vĂĄk Google-hoz | Google szolgĂĄltatĂĄs | Self-hosted alternatĂ­va | Agent | |---------------------|------------------------|--------| | Google Calendar | Cal.com | `calendar-scheduling-agent` | | Gmail (sending) | Postal | `email-server-agent` | | Firebase Auth | Supabase | `supabase-setup-agent` | | Firestore | Supabase (PostgreSQL) | `database-setup` + `supabase-setup-agent` | | Google Forms | Custom React forms | `react-dev-agent` | --- ## Agent kombinĂĄciĂł pĂ©ldĂĄk ### Teljes self-hosted startup stack ``` vps-deployment-agent → VPS elƑkĂ©szĂ­tĂ©s ├── docker-deployment-agent → Containerization ├── fullstack-deployment-agent → React + Node.js app ├── database-setup-agent → PostgreSQL ├── email-server-agent → Postal email ├── calendar-scheduling-agent → Cal.com ├── cms-setup-agent → Strapi CMS └── monitoring-agent → Prometheus + Grafana ``` ### E-commerce platform ``` react-dev-agent → Frontend (product catalog, cart) nodejs-backend-agent → Backend API database-setup-agent → PostgreSQL api-integration-agent → Stripe payments email-server-agent → Order confirmations fullstack-deployment-agent → Production deployment ``` ### SaaS Dashboard ``` react-dev-agent → Dashboard UI nodejs-backend-agent → REST API supabase-setup-agent → Database + Auth + Realtime monitoring-agent → Analytics cicd-automation-agent → Auto deployment ``` --- ## KöltsĂ©gek (self-hosted vs cloud) ### Cal.com - **Self-hosted:** $5-10/hĂł VPS = Unlimited users - **Cloud (cal.com):** $12-29/user/month ### Email (Postal) - **Self-hosted:** $5-10/hĂł VPS = Unlimited emails - **SendGrid:** $15-80/hĂł (100k emails) ### Database (PostgreSQL) - **Self-hosted:** $0 (VPS-en belĂŒl) - **Supabase Cloud:** $25/hĂł (Database) ### Total stack költsĂ©g - **Self-hosted:** ~$10-20/hĂł (1 VPS) - **Cloud services:** $100-300/hĂł --- ## VPS ajĂĄnlĂĄsok | Provider | Ár/hĂł | Specs | AjĂĄnlott? | |----------|-------|-------|-----------| | Hetzner | €4.5 | 2 vCPU, 4GB RAM | ✅ Legjobb ĂĄr/Ă©rtĂ©k | | DigitalOcean | $12 | 2 vCPU, 4GB RAM | ✅ EgyszerƱ UI | | Linode | $12 | 2 vCPU, 4GB RAM | ✅ MegbĂ­zhatĂł | | Vultr | $12 | 2 vCPU, 4GB RAM | ✅ JĂł network | | Contabo | €5 | 4 vCPU, 8GB RAM | ⚠ VĂĄltozĂł teljesĂ­tmĂ©ny | **Minimum követelmĂ©nyek:** - 2 vCPU - 4GB RAM - 50GB SSD - Ubuntu 22.04 LTS --- ## Hasznos parancsok ### Docker ```bash docker-compose up -d # Start services docker-compose down # Stop services docker-compose logs -f # View logs docker-compose ps # Check status docker-compose restart # Restart service ``` ### Nginx ```bash sudo nginx -t # Test config sudo systemctl reload nginx # Reload config sudo systemctl status nginx # Check status ``` ### SSL (Certbot) ```bash certbot certificates # List certificates certbot renew --dry-run # Test renewal ``` ### Database (PostgreSQL) ```bash docker-compose exec postgres psql -U username -d dbname \dt # List tables \q # Exit ``` --- ## Troubleshooting ### Port mĂĄr hasznĂĄlatban ```bash sudo lsof -i :80 # Check what's using port 80 sudo systemctl stop apache2 # Stop Apache if running ``` ### Docker container nem indul ```bash docker-compose logs docker-compose down -v # Remove volumes (CAREFUL!) docker-compose up -d ``` ### SSL certificate hiba ```bash # Check if port 80 is accessible curl http://yourdomain.com/.well-known/acme-challenge/test # Retry certificate docker-compose run --rm certbot certonly --webroot ... ``` --- ## KövetkezƑ lĂ©pĂ©sek 1. **VĂĄlassz projektet** (Cal.com, Full-stack app, Email szerver) 2. **VĂĄlassz VPS-t** (Hetzner ajĂĄnlott) 3. **Kövesd az agent promptokat** lĂ©pĂ©srƑl lĂ©pĂ©sre 4. **Tesztelj** minden lĂ©pĂ©s utĂĄn 5. **ÁllĂ­ts be monitoringot** (UptimeRobot minimum) 6. **Backup stratĂ©gia** (cron job daily backup) --- ## SegĂ­tsĂ©g kĂ©rĂ©s Ha elakadtĂĄl, hasznĂĄld a megfelelƑ agent system prompt-jĂĄt Ă©s kĂ©rdezz konkrĂ©tan: ``` HasznĂĄld a vps-deployment-agent-et: "A Docker telepĂ­tĂ©se közben ezt a hibĂĄt kaptam: [hiba ĂŒzenet]" HasznĂĄld a fullstack-deployment-agent-et: "A backend nem Ă©ri el a PostgreSQL-t, hibaĂŒzenet: connection refused" ``` Minden agent a leggyakoribb hibĂĄkra is tartalmaz megoldĂĄsokat!