Deploy a Django app

Bring a Django app online without assembling the server, database, static file, secret, and migration setup yourself. Tokay analyzes the existing project and prepares the Services and resources it needs behind an HTTPS URL.

Last updated

AI agent? Start with llms.txt.

Your Django setup carries into deployment

Your existing Django project already carries most of its deployment setup, so you do not have to reproduce it in platform configuration. After you push the repo or connect GitHub, Tokay detects the project layout, start command, migration setup, and environment variables read by the settings.

Before deployment, you review the result and enter private values such as SECRET_KEY. Tokay encrypts those values in storage and supplies them to the app at runtime.

Django web, worker, and scheduled processes share one Project

Tokay keeps the web app, scheduled management commands, and background workers in one Project, so you do not have to coordinate separate hosting setups for each process. Every Service shares the same databases and secrets on the Workspace's dedicated virtual machine.

When the settings expect Postgres, Tokay creates the database and supplies its connection. Scheduled manage.py commands run when they are due, with each run recorded.

Database changes get production safeguards

Django migrations stay in the normal deployment workflow while Tokay handles the risk around production data. We rehearse each migration against a copy of the data and snapshot the database before production changes. Under Normal release safety, risky or uncertain migrations pause for your approval.

Health checks run before a new version receives traffic. If they fail, the working version continues serving and the failed version never receives traffic.

Your AI agent can handle the routine work

A coding agent like Claude Code or Codex can deploy the Django project without taking control of migration decisions that need your approval. Through Tokay's GraphQL API, it can submit the repo, review the detected setup, set the secret values you provide, deploy the Services, and verify the live site. A migration paused by release safety waits for a human decision.

Point your agent to app.tokay.io/llms.txt for the deployment protocol.

Deploy your first app on Tokay's permanent free plan without a credit card.

Related guides