Deploy Django Applications
Deploy Django applications with static files collection, database migrations, and optional Celery workers.
How to deploy your Django app
Sign up / Sign in
Create an account or sign in to your dashboard. Your account is created automatically on first sign in.
Create a project
Click on "Create a project" from your dashboard.
Connect your GitHub repository
Select your Django repository from GitHub. You may need to connect your GitHub account if you haven't already.
Configure your project settings
Set your Docker image and commands for your Django app.
Deploy
Click "Deploy" or simply push to your repository. Every git push triggers a new deployment.
Visit your app
Once deployed, click "Visit" to see your live Django application.
Environment variables
Store your Django secrets securely in environment variables:
SECRET_KEY- Django secret keyDATABASE_URL- Database connection stringDEBUG- Set to False in productionALLOWED_HOSTS- Your domain names
Celery workers
For background tasks, deploy a separate Celery worker alongside your Django application. Use the same repository with different start commands for each environment.