quantum-ai/templates/500.html
Claude b429f7c7ef 🚀 Complete Railway.app deployment preparation
- Add comprehensive deployment guide with step-by-step instructions
- Create environment variables template with security guidelines
- Implement production health check endpoint at /health/
- Add Railway-specific production optimizations and database pooling
- Create post-deployment verification checklist (10 phases, 100+ checkpoints)
- Optimize railway.json with Gunicorn production settings and health checks
- Configure automatic SMTP backend switching for production/development
- Add custom 404/500 error pages for professional user experience
- Enhance environment variable validation for production requirements

Deployment Features:
• Complete Railway.app integration with zero-config deployment
• Production-ready health monitoring and logging
• Database connection pooling and performance optimization
• Comprehensive security validation and environment checks
• Professional error handling and user experience

Ready for Production:
• All Django security checks pass 
• Environment variables properly validated 
• Health check endpoint functional 
• Railway.json optimized for production 
• Complete documentation and verification guides 

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-26 09:03:07 +05:30

108 lines
3.0 KiB
HTML

{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Server Error - Quantum Tasks AI</title>
<link rel="stylesheet" href="{% static 'css/base.css' %}">
<style>
body {
margin: 0;
padding: 0;
min-height: 100vh;
background: var(--gradient-hero);
font-family: var(--font-primary);
display: flex;
align-items: center;
justify-content: center;
}
.error-container {
max-width: 600px;
padding: 2rem;
text-align: center;
color: white;
}
.error-icon {
font-size: 6rem;
margin-bottom: 1rem;
}
.error-title {
font-size: 2.5rem;
font-weight: bold;
margin-bottom: 1rem;
}
.error-message {
font-size: 1.1rem;
margin-bottom: 2rem;
opacity: 0.9;
line-height: 1.6;
}
.error-actions {
display: flex;
gap: 1rem;
flex-wrap: wrap;
justify-content: center;
}
.error-button {
padding: 0.75rem 1.5rem;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
transition: all 0.2s;
background: rgba(255, 255, 255, 0.1);
color: white;
border: 2px solid rgba(255, 255, 255, 0.3);
backdrop-filter: blur(10px);
}
.error-button:hover {
background: rgba(255, 255, 255, 0.2);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.error-details {
margin-top: 2rem;
padding: 1rem;
background: rgba(255, 255, 255, 0.1);
border-radius: 8px;
font-size: 0.9rem;
opacity: 0.8;
}
</style>
</head>
<body>
<div class="error-container">
<div class="error-icon">⚠️</div>
<h1 class="error-title">Server Error</h1>
<p class="error-message">
We're experiencing technical difficulties. Our team has been notified
and is working to resolve the issue. Please try again in a few minutes.
</p>
<div class="error-actions">
<a href="/" class="error-button">
🏠 Go Home
</a>
<a href="/marketplace/" class="error-button">
🤖 Browse AI Assistants
</a>
</div>
<div class="error-details">
<p><strong>Error ID:</strong> {{ request.META.HTTP_X_REQUEST_ID|default:"N/A" }}</p>
<p><strong>Time:</strong> <span id="error-time"></span></p>
</div>
</div>
<script>
// Display current time
document.getElementById('error-time').textContent = new Date().toLocaleString();
</script>
</body>
</html>