بنقرة واحدة
caprover-deployment
Deploy generated Django SaaS Starter apps to CapRover with split server/worker apps.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Deploy generated Django SaaS Starter apps to CapRover with split server/worker apps.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Build AI agents with Pydantic AI — tools, capabilities (including on-demand loading), structured output, streaming, testing, and multi-agent patterns. Use when the user mentions Pydantic AI, imports pydantic_ai, or asks to build an AI agent, add tools/capabilities, defer capability loading, stream output, define agents from YAML, or test agent behavior.
Extend Pydantic AI agents with batteries-included capabilities from pydantic-ai-harness — currently Code Mode, which collapses many tool calls into one sandboxed Python execution. Use when the user mentions pydantic-ai-harness, CodeMode, Monty, code mode, or tool sandboxing, when they want an agent to run agent-written Python, or when a Pydantic AI agent would benefit from orchestrating multiple tool calls in a single sandboxed script.
Use when planning, implementing, testing, reviewing, or evaluating agent-driven changes in this generated Django SaaS app, especially changes that cross Django apps, API surfaces, background jobs, frontend templates, docs, CI, or optional integrations.
Use when adding, changing, testing, or debugging Django Q2 background tasks, scheduled jobs, qcluster workers, Redis broker configuration, or ORM broker fallback in this generated Django SaaS app.
Use when running, testing, or debugging the generated Django SaaS app from host terminal commands, optionally with Docker Compose backing services.
Use when changing Django templates, Tailwind CSS, frontend components, layout, responsive behavior, themes, forms, empty states, motion, or UI copy in this generated Django SaaS app.
| name | caprover-deployment |
| description | Deploy generated Django SaaS Starter apps to CapRover with split server/worker apps. |
Use when deploying this generated Django SaaS Starter repo to CapRover, or when fixing the generated CapRover deploy workflow.
APP_TOKEN for the server app.WORKERS_APP_TOKEN for the workers app.APP_PROCESS_TYPE.forceSsl until the app has at least one SSL-enabled domain; CapRover rejects force SSL before SSL exists.SECRET_KEY, database passwords, OAuth secrets, or provider keys.Create or verify these CapRover apps. Use the CAPROVER_APP_NAME value from .github/workflows/deploy.yml for <caprover_app_name>.
<caprover_app_name> — Django web server, APP_PROCESS_TYPE=server.<caprover_app_name>-workers — Django Q/background worker, APP_PROCESS_TYPE=worker.<caprover_app_name>-postgres — Postgres service.<caprover_app_name>-redis — Redis service.The GitHub workflow builds one GHCR image from deployment/Dockerfile, deploys it to the server app with APP_TOKEN, then deploys the same image to the workers app with WORKERS_APP_TOKEN.
uv.lock, deployment/Dockerfile, deployment/entrypoint.sh, and .github/workflows/deploy.yml.docker service update --mount-add; CapRover can overwrite it on redeploy.APP_PROCESS_TYPE=serverDJANGO_SETTINGS_MODULE=<project_slug>.settings using the generated Python package slug.SECRET_KEY, SITE_URL, ALLOWED_HOSTS, CSRF_TRUSTED_ORIGINSDATABASE_URL pointing at srv-captain--<caprover_app_name>-postgresREDIS_URL pointing at srv-captain--<caprover_app_name>-redis.env.exampleAPP_PROCESS_TYPE=worker.CAPROVER_SERVER — CapRover server URL.APP_TOKEN — server app deploy token.WORKERS_APP_TOKEN — workers app deploy token.WORKERS_APP_PROCESS_TYPE=worker — safety guard for the workflow.main and verify the Deploy Prod workflow.https://<domain>/api/healthcheck reports database and Redis healthy.WORKERS_APP_PROCESS_TYPE=worker and ensure the workers CapRover app env has APP_PROCESS_TYPE=worker.deployment/entrypoint.sh; it should run the database wait before migrations/server/worker startup.MJML_URL reachable from the container or disable MJML until a renderer is provisioned.Use equivalent API/CLI calls when your environment differs.
gh run list --workflow "Deploy Prod" --limit 3
gh run view <run-id> --log-failed
curl -fsS https://<domain>/api/healthcheck