π― Quick Deploy Checklist - AndesOps AI to Hugging Face
Current Status: 21 likes π | Production Ready β
π DO THIS NOW (5 mins each)
β ACTION 1: Push to GitHub
cd c:\laragon\www\ANDESAI
git add -A
git commit -m "π Production ready for HF Spaces"
git push
β ACTION 2: Create Backend Space
- Go: https://huggingface.co/spaces
- Click "Create new space"
- Name:
andesai-backend - SDK: Docker
- License: OpenRAIL
- Click Create
β ACTION 3: Upload Backend Files
- In your new andesai-backend space
- Click "Files" tab
- Upload folder:
backend/from your repo - (Or use GitHub import if available)
β ACTION 4: Add Environment Secrets
In andesai-backend space β Settings β Secrets:
MERCADO_PUBLICO_TICKET = YOUR_TICKET_HERE
GEMINI_API_KEY = YOUR_GEMINI_KEY_HERE
GROQ_API_KEY = YOUR_GROQ_KEY_HERE
FEATHERLESS_API_KEY = YOUR_FEATHERLESS_KEY_HERE
DATABASE_URL = sqlite:///./andesops.db
GEMINI_MODEL = gemini-2.0-flash
Click Save after each one.
β ACTION 5: Update Your AndesOps-AI Frontend Space
- Go: https://huggingface.co/spaces/lablab-ai-amd-developer-hackathon/AndesOps-AI
- Click "Files"
- Re-upload
frontend/folder with new Dockerfiles - Wait for build to complete (green β )
β ACTION 6: Test Everything
- Open frontend: https://lablab-ai-amd-developer-hackathon-andesops-ai.hf.space
- Check browser console (F12) for
[API]logs - Try "Market Monitor" β should show data
- Try "Tender Search" β should return results
β ACTION 7: Share & Get Likes
- Update space description (copy from HUGGING_FACE_DEPLOY.md)
- Share on Twitter with #HuggingFace #Hackathon
- Post in hackathon Slack
- Ask friends to like it
π What Happens Automatically
β¨ After you push files:
- Frontend detects it's on HF Spaces
- Automatically connects to backend at:
https://lablab-ai-amd-developer-hackathon-andesai-backend.hf.space - No manual config needed! π
β±οΈ Timeline
| Time | What | Status |
|---|---|---|
| Now | Push code | 5 mins β |
| +5 | Create backend space | 2 mins β |
| +7 | Upload files | 3 mins β |
| +10 | Add secrets | 2 mins β |
| +12 | Update frontend | 3 mins β |
| +15 | Spaces start building | π 5-10 mins |
| +25 | Both ready! | β Test |
| +30 | Deploy complete! | π Success |
Total: ~30 minutes
π― After Deploy
Immediate (Today)
- Test all features work
- Take screenshots
- Update README with links
- Share on social media
Short-term (This week)
- Monitor likes (track progress)
- Fix any bugs found
- Optimize performance
- Add demo video
Long-term (This month)
- Keep adding features
- Improve UI/UX
- Get more likes
- Prepare presentation
π If Something Breaks
Frontend shows error
β Check: /api/health endpoint is responding
β Fix: Restart backend space
Backend won't build
β Check: All secrets are added β View: Space logs for errors β Fix: Push corrected files
No data showing
β Check: Market Monitor trying to connect β View: Browser console (F12) β Fix: Verify API_BASE auto-detection logs
π± Sharing Template
π Just deployed AndesOps AI on @huggingface Spaces!
π¨π± Chilean Public Procurement Intelligence
- Real-time market monitoring
- AI-powered tender analysis
- Government purchase order tracking
β Give it a like to support our hackathon entry!
[YOUR_SPACE_URL]
#HuggingFace #AI #Hackathon #Chile #NextJS #FastAPI
β¨ You're All Set!
Your AndesOps AI is:
- β Production optimized
- β Docker best practices
- β Auto-detection ready
- β CORS configured
- β Health checks enabled
- β Security hardened
Just need to upload and it works! π
Questions? Check HUGGING_FACE_DEPLOY.md for detailed guide