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
Release history Release notifications | RSS feed
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.12.tar.gz
(614.4 kB
view hashes)
Built Distribution
djamal-0.1.12-py3-none-any.whl
(614.3 kB
view hashes)