Skip to main content

A Django extension to deploy web apps anywhere, from bare metal to cloud VMs.

Project description

Django Kamal Extension

The Django Kamal Extension adds the 'djamal' alias command to the .env file in the root of the Django project. This extension simplifies the usage of the Docker image 'ghcr.io/basecamp/kamal:latest' within your Django project.

Installation

Install djamal using pip:

python -m pip install djamal


# Usage
Add 'djamal' to your Django project's INSTALLED_APPS and 'djamal.middleware.Command' to the MIDDLEWARE:

# settings.py

INSTALLED_APPS = [
    # ...
    'djamal',
    # ...
]

MIDDLEWARE = [
    # ...
    'djamal.middleware.Command',
    # ...
]

## To view the list of djamal commands and options, run the following Django management command:
```bash
python manage.py djamal help


# License
This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djamal-0.1.8.tar.gz (614.0 kB view hashes)

Uploaded Source

Built Distribution

djamal-0.1.8-py3-none-any.whl (614.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page