All use cases

Deploy Django Applications

Deploy Django applications with static files collection, database migrations, and optional Celery workers.

How to deploy your Django app

1

Sign up / Sign in

Create an account or sign in to your dashboard. Your account is created automatically on first sign in.

2

Create a project

Click on "Create a project" from your dashboard.

3

Connect your GitHub repository

Select your Django repository from GitHub. You may need to connect your GitHub account if you haven't already.

4

Configure your project settings

Set your Docker image and commands for your Django app.

Example: Django with Gunicorn
Build: pip install -r requirements.txt && python manage.py collectstatic --noinput && python manage.py migrate
Start: gunicorn myproject.wsgi:application --bind 0.0.0.0:8000
5

Deploy

Click "Deploy" or simply push to your repository. Every git push triggers a new deployment.

6

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 key
  • DATABASE_URL - Database connection string
  • DEBUG - Set to False in production
  • ALLOWED_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.