Tutorials
In-depth guides written by Mentai mentors.
Browse by category
Filter by topic
All
ai
airtable
android
appliances
architecture
asana
automation
backend
backup
best-practices
celery
ci
Show all 83 tags Show fewer tags
cloudflare
cms
configuration
cost-management
crm
database
data-management
data-transfer
debugging
deployment
devops
diy
django
dns
docker
email
error-handling
frontend
git
github-actions
google-sheets
home-setup
htmx
internal-tools
linear
linux
llm
logging
macos
make
mobile
models
moderation
monitoring
nas
networking
nginx
no-code
notion
parental-controls
payments
performance
pgvector
postgresql
postmark
privacy
productivity
prompting
python
raspberry-pi
recovery
redis
render
retool
search
sentry
smart-tv
ssl
storage
stripe
testing
tooling
troubleshooting
typeform
ups
validation
version-control
webflow
wi-fi
workflow
zapier
Deploying a Django Application to Render Without Environment Variable Chaos
Structure Django settings and Render service configuration so secrets, database URLs, and environment-specific values are managed cleanly from day one.
Cloud and Infrastructure
deployment
django
render
By
Tai
·
Mentor
98 views
· 30 min read
How to Monitor Celery Workers and Detect Task Failures Before Users Do
Configure Celery Beat health checks, Flower monitoring, and failure alerting so you know when a background worker has stopped processing before it causes a user-facing problem.
Cloud and Infrastructure
celery
devops
monitoring
By
Tai
·
Mentor
94 views
· 30 min read
Setting Up Automatic SSL With Let's Encrypt and Nginx on a Linux VPS
Use Certbot and Nginx to provision and auto-renew free TLS certificates so your site is HTTPS-only with no manual certificate management.
Cloud and Infrastructure
linux
nginx
ssl
By
Tai
·
Mentor
87 views
· 28 min read
How to Run Django in Docker Without the Common Pitfalls
Set up a production-ready Docker Compose environment for Django, PostgreSQL, Redis, and Celery while avoiding the rebuild, port, and database readiness mistakes that waste hours of debugging.
Cloud and Infrastructure
devops
django
docker
By
Tai
·
Mentor
90 views
· 35 min read
Automating Content Moderation With an AI Classification Step
Build an AI classification pipeline that flags submitted content for human review, reducing moderator workload without removing human oversight.
AI and Workflows
ai
celery
moderation
By
Tai
·
Mentor
112 views
· 28 min read
Building Semantic Search That Understands Intent Not Just Keywords
Combine vector similarity search with keyword filtering to build a search experience that finds relevant results even when exact words do not match.
AI and Workflows
ai
pgvector
search
By
Tai
·
Mentor
109 views
· 32 min read
Evaluating AI Output Quality With a Scoring Pipeline
Build a lightweight evaluation loop that scores AI responses against a golden dataset so you can detect regressions before users notice them.
AI and Workflows
ai
llm
testing
By
Tai
·
Mentor
112 views
· 30 min read
How to Implement a Per-User AI Token Budget to Control Costs
Track monthly token usage per user in your database and enforce soft and hard limits so your AI feature scales without runaway API costs.
AI and Workflows
ai
backend
cost-management
By
Tai
·
Mentor
110 views
· 28 min read
How to Use Function Calling to Make AI Return Structured JSON Reliably
Use the OpenAI or Claude tools parameter to guarantee structured JSON output so you can parse AI responses in code without fragile string matching.
AI and Workflows
ai
backend
llm
By
Tai
·
Mentor
105 views
· 25 min read
How to Handle OpenAI Rate Limits and Timeouts Gracefully in Production
Implement exponential backoff, per-task retry logic, and user-facing error states so your AI features degrade gracefully instead of silently failing.
AI and Workflows
ai
celery
error-handling
By
Tai
·
Mentor
109 views
· 25 min read
Structuring a Reusable Prompt Library in Python
Centralise all AI prompt strings into a single Python module so you can iterate on model behaviour without hunting across your codebase.
AI and Workflows
ai
architecture
python
By
Tai
·
Mentor
85 views
· 18 min read
How to Run AI API Calls Asynchronously With Celery in Django
Offload slow OpenAI or Claude API calls to Celery workers so Django views return immediately and users receive results through HTMX polling.
AI and Workflows
ai
celery
django
By
Tai
·
Mentor
77 views
· 30 min read