Go to file
thecyberlearn f048025ff0 Refactor to use environment variables instead of hardcoded values
- Replace hardcoded values in dokploy.json with environment variable substitution
- Make production settings more environment-aware with better defaults
- Add debug logging to help troubleshoot configuration issues
- Update .env.example with Dokploy-specific configuration
- Add deploy-dokploy.sh helper script for easy environment setup
- Improve ALLOWED_HOSTS and CSRF_TRUSTED_ORIGINS handling with fallbacks

This makes the deployment more flexible and follows 12-factor app principles.
2025-09-05 10:33:31 +05:30
.claude/agents Initial clean CapRover deployment - no secrets 2025-09-04 10:50:55 +05:30
.github Initial clean CapRover deployment - no secrets 2025-09-04 10:50:55 +05:30
agents Fix groq initialization by using lazy loading 2025-09-05 08:51:50 +05:30
authentication Temporarily disable django-ratelimit to fix deployment 2025-09-05 03:07:23 +05:30
core Fix django-ratelimit imports in all view files 2025-09-05 08:40:13 +05:30
docs Complete project standardization and cleanup 2025-09-04 13:54:30 +05:30
netcop_hub Refactor to use environment variables instead of hardcoded values 2025-09-05 10:33:31 +05:30
scripts Initial clean CapRover deployment - no secrets 2025-09-04 10:50:55 +05:30
static Initial clean CapRover deployment - no secrets 2025-09-04 10:50:55 +05:30
templates Initial clean CapRover deployment - no secrets 2025-09-04 10:50:55 +05:30
tests Initial clean CapRover deployment - no secrets 2025-09-04 10:50:55 +05:30
wallet Fix undefined cache_user_data decorator in wallet views 2025-09-05 08:42:57 +05:30
.dockerignore Initial clean CapRover deployment - no secrets 2025-09-04 10:50:55 +05:30
.env.dokploy.example Add Dokploy deployment configuration 2025-09-05 02:40:02 +05:30
.env.example Refactor to use environment variables instead of hardcoded values 2025-09-05 10:33:31 +05:30
.env.production.template Initial clean CapRover deployment - no secrets 2025-09-04 10:50:55 +05:30
.gitignore Initial clean CapRover deployment - no secrets 2025-09-04 10:50:55 +05:30
.railway.env.example Initial clean CapRover deployment - no secrets 2025-09-04 10:50:55 +05:30
brandfind1.html Initial clean CapRover deployment - no secrets 2025-09-04 10:50:55 +05:30
brandfind.html Initial clean CapRover deployment - no secrets 2025-09-04 10:50:55 +05:30
brandfinderpro.html Initial clean CapRover deployment - no secrets 2025-09-04 10:50:55 +05:30
build.sh Initial clean CapRover deployment - no secrets 2025-09-04 10:50:55 +05:30
captain-definition Initial clean CapRover deployment - no secrets 2025-09-04 10:50:55 +05:30
CLAUDE.md Major simplification: Remove over-engineered features for basic CapRover deployment 2025-09-04 11:00:56 +05:30
debug_middleware.py Add comprehensive Django debug logging for 404 troubleshooting 2025-09-05 09:33:25 +05:30
debug_settings.py Add comprehensive Django debug logging for 404 troubleshooting 2025-09-05 09:33:25 +05:30
deploy-dokploy.sh Refactor to use environment variables instead of hardcoded values 2025-09-05 10:33:31 +05:30
DEPLOYMENT_GUIDE.md Complete project standardization and cleanup 2025-09-04 13:54:30 +05:30
Dockerfile.captain Complete project standardization and cleanup 2025-09-04 13:54:30 +05:30
Dockerfile.dokploy 🔒 Fix HTTPS configuration for Dokploy deployment 2025-09-05 09:44:21 +05:30
Dockerfile.dokploy.debug Add comprehensive Django debug logging for 404 troubleshooting 2025-09-05 09:33:25 +05:30
Dockerfile.simple-test Fix Dokploy routing issues - Django app is running, 404 is routing problem 2025-09-05 09:27:28 +05:30
Dockerfile.test Add debug configuration for Dokploy 404 troubleshooting 2025-09-05 09:24:49 +05:30
dokploy.debug.json Fix Dokploy deployment 404 errors 2025-09-05 09:22:06 +05:30
dokploy.json Refactor to use environment variables instead of hardcoded values 2025-09-05 10:33:31 +05:30
manage.py Initial clean CapRover deployment - no secrets 2025-09-04 10:50:55 +05:30
production_https_settings.py 🔒 Fix HTTPS configuration for Dokploy deployment 2025-09-05 09:44:21 +05:30
README.md Complete project standardization and cleanup 2025-09-04 13:54:30 +05:30
requirements-dev.txt Initial clean CapRover deployment - no secrets 2025-09-04 10:50:55 +05:30
requirements.txt Fix groq version compatibility issue 2025-09-05 08:48:36 +05:30
run_dev.sh Initial clean CapRover deployment - no secrets 2025-09-04 10:50:55 +05:30
start-dokploy.sh Fix Dokploy bad gateway issue 2025-09-05 10:10:02 +05:30
start.sh Initial clean CapRover deployment - no secrets 2025-09-04 10:50:55 +05:30
tesla_brand_analysis_webpage_single_file_react.jsx Initial clean CapRover deployment - no secrets 2025-09-04 10:50:55 +05:30
WARP.md 🎉 Dokploy deployment working + comprehensive WARP.md 2025-09-05 09:41:48 +05:30

Quantum Tasks AI - Simple CapRover Deployment

A basic Django AI agent marketplace for CapRover deployment.

Quick Start

# Install dependencies
pip install -r requirements-simple.txt

# Run migrations
python manage.py migrate

# Create admin user
python manage.py createsuperuser

# Start development server
python manage.py runserver

CapRover Deployment

  1. Upload to CapRover: Use captain-definition-simple
  2. Set Environment Variables:
    SECRET_KEY=your-secret-key
    DEBUG=false
    ALLOWED_HOSTS=yourdomain.com
    DATABASE_URL=postgres://user:pass@host/db
    
  3. Deploy: Force build in CapRover dashboard

Project Structure

  • agents/ - AI agent marketplace
  • authentication/ - User registration/login
  • wallet/ - Basic Stripe payments
  • core/ - Homepage and utilities

Adding Agents

Add JSON files to agents/configs/agents/:

{
  "name": "My Agent",
  "category": "productivity",
  "price": 5,
  "description": "Simple agent description",
  "webhook_url": "https://your-webhook.com",
  "form_schema": {
    "fields": [{"name": "input", "type": "text", "label": "Input"}]
  }
}

Documentation

  • DEPLOYMENT_GUIDE.md - Complete CapRover deployment guide
  • CLAUDE.md - Technical architecture and setup details