Deploy Django on Deplexo
Deplexo detects Django from manage.py and your settings module, then configures gunicorn with static file collection.
How it works
- Push your repo to GitHub, GitLab, Bitbucket, or Codeberg.
- Deplexo detects
requirements.txt,Pipfile, orpyproject.tomlalong withmanage.py, identifies Django, and sets collectstatic and gunicorn defaults. - Your app starts on its subdomain. Build and runtime logs stream to the dashboard.
Configuration
Add deplexo.yaml to your repo root. Adjust the WSGI module path to match your project.
version: 1
type: web
build:
framework: auto
install: pip install -r requirements.txt
command: python manage.py collectstatic --noinput
run:
command: gunicorn --bind 0.0.0.0:$PORT myproject.wsgi:application
port: 8000What you get
- Automatic subdomain (your-app.deplexo.com) provisioned on first deploy.
- Build logs streamed live.
- Runtime logs accessible from the Logs tab.
- Environment variables managed in the dashboard, encrypted at rest, injected at runtime.
- Git webhooks trigger automatic redeploys on push.