Skip to main content

Tutorials

In-depth guides written by Mentai mentors.

Browse learning paths
All categories Development AI and Workflows Cloud and Infrastructure Consumer Electronics SaaS and Tools No-Code and Automation
All ai airtable android appliances architecture asana automation backend backup best-practices celery ci 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
Newest Popular
entai.dev
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 81 views · 30 min read
entai.dev
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 76 views · 30 min read
entai.dev
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 73 views · 28 min read
entai.dev
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 74 views · 35 min read
entai.dev
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 84 views · 28 min read
entai.dev
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 83 views · 32 min read
entai.dev
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 87 views · 30 min read
entai.dev
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 85 views · 28 min read
entai.dev
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 81 views · 25 min read
entai.dev
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 80 views · 25 min read
entai.dev
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 69 views · 18 min read
entai.dev
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 64 views · 30 min read