Deploy Django in minutes
Darmi Cloud deploys Django with a production gunicorn server, collects your static files and puts everything behind automatic HTTPS. Connect GitHub and ship your Python web app in minutes.
How to deploy Django
Darmi Cloud has a dedicated Django preset, so there is no configuration to write.
- 1
Sign in with GitHub
Open darmicloud.tech and sign in with GitHub (or Google). On first sign-in you grant read access so the deploy worker can clone your repositories.
- 2
Import your repository
Click New Project, pick your Django repository, and choose the branch to deploy — the default branch is preselected.
- 3
Select the Django preset
Choose the Django preset. The commands are prefilled (build: python manage.py collectstatic --noinput, start: gunicorn config.wsgi:application --bind 0.0.0.0:8000) — adjust them only if your project differs.
- 4
Add environment variables
Add any environment variables your app needs (database URLs, API keys, secrets). Mark sensitive values as secrets — they are injected into the container and hidden in the UI afterwards.
- 5
Deploy and watch it go live
Click Deploy. Watch the live build and runtime logs, and your app goes live on an automatic HTTPS subdomain. Every push to your branch redeploys automatically.
Preset defaults
- Preset
- Django
- Container port
- 8000
- Build command
- python manage.py collectstatic --noinput
- Start command
- gunicorn config.wsgi:application --bind 0.0.0.0:8000
Tips for Django on Darmi Cloud
- The default start command points at config.wsgi — change config to your project's package name if it differs (for example myproject.wsgi).
- Add your subdomain to ALLOWED_HOSTS and set DEBUG=False via environment variables in production.
- Point DATABASE_URL at your Postgres instance and run migrations from the release/start command as needed.
Django deployment FAQ
How is my Django app served in production?
Darmi Cloud runs gunicorn against your WSGI application and serves it behind Traefik with automatic HTTPS. Static files are collected during the build step.
My deploy fails with DisallowedHost — how do I fix it?
Add your Darmi Cloud subdomain (and any custom domain) to ALLOWED_HOSTS in settings.py, typically read from an environment variable.
Can I use my own custom domain?
Yes. Connect an existing domain or buy one inside Darmi Cloud. DNS is configured automatically and every domain gets free SSL via Let's Encrypt.
Is there a free plan?
Yes. The Free plan deploys one project on an automatic HTTPS subdomain with auto-deploy on every push. Paid plans add custom domains, PR preview deployments and more projects.
Deploy other frameworks
Ready to deploy your Django app?
Connect GitHub and ship in minutes — on a free HTTPS subdomain, or on your own custom domain.
Deploy Django now