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
devops
Show all 83 tags Show fewer tags
cloudflare
cms
configuration
cost-management
crm
database
data-management
data-transfer
debugging
deployment
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
Configuring Cloudflare DNS and Proxy Settings for a Custom Domain
Point a custom domain to your hosted application using Cloudflare and avoid the SSL misconfiguration that causes redirect loops and mixed-content errors.
SaaS and Tools
cloudflare
devops
dns
By
Tai
·
Mentor
100 views
· 22 min read
How to Set Up Postmark for Reliable Transactional Email Delivery
Switch from a generic SMTP provider to Postmark and configure bounce handling, suppression lists, and delivery monitoring so critical emails consistently reach inboxes.
SaaS and Tools
devops
email
postmark
By
Tai
·
Mentor
95 views
· 25 min read
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
128 views
· 32 min read
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
126 views
· 25 min read
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
116 views
· 32 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
93 views
· 30 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
89 views
· 35 min read
How to Write Idempotent Django Management Commands
Design management commands that can be safely re-run in any environment without creating duplicates, side effects, or partial database state.
Development
data-management
devops
django
By
Tai
·
Mentor
102 views
· 18 min read
Structuring Django Settings for Local, Staging, and Production Without Duplication
Split settings into a base file and environment-specific files so configuration is clean, environment variables are explicit, and nothing leaks between environments.
Development
configuration
devops
django
By
Tai
·
Mentor
99 views
· 20 min read