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 backup celery cloudflare database deployment devops django docker linux logging monitoring nginx performance postgresql redis render ssl storage
Newest Popular
entai.dev
Building a Reliable Automated PostgreSQL Backup System
Automate daily pg_dump exports, compress and timestamp them, upload to cloud storage, and verify restoration so you have tested backups without relying on your hosting provider.
Cloud and Infrastructure
backup devops postgresql
By Tai Mentor 100 views · 32 min read
entai.dev
How to Set Up Structured Logging in Django for Production Debugging
Configure Django's LOGGING dict to write structured output, route errors to a searchable destination, and attach request IDs so production issues are traceable.
Cloud and Infrastructure
devops django logging
By Tai Mentor 98 views · 25 min read
entai.dev
Configuring Redis as a Django Cache Backend and Session Store
Set up django-redis to handle both page fragment caching and session storage so load times drop and sessions survive server restarts.
Cloud and Infrastructure
django performance redis
By Tai Mentor 93 views · 22 min read
entai.dev
How to Deploy Django Schema Migrations Without Taking the Site Offline
Use a three-phase migration strategy so database schema changes and code updates can be applied in production without a maintenance window.
Cloud and Infrastructure
database deployment django
By Tai Mentor 95 views · 35 min read
entai.dev
How to Prevent PostgreSQL Connection Exhaustion With PgBouncer
Configure PgBouncer in transaction mode in front of your PostgreSQL database so connection limits are not hit when Django scales beyond a handful of workers.
Cloud and Infrastructure
devops performance postgresql
By Tai Mentor 93 views · 32 min read
entai.dev
How to Set Up Cloudflare R2 as a Django Media Storage Backend
Replace local media file storage with Cloudflare R2 using boto3 so uploaded files persist across deployments and are served from a CDN edge.
Cloud and Infrastructure
cloudflare django storage
By Tai Mentor 88 views · 28 min read
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