Continuous deloyment
Project description
django-cd
Continuous deployment
Installation
git clone git@github.com/ppinard/django-cd.git
cd django-cd
pip install -e .
Django - settings.py
Add to INSTALLED_APPS
:
INSTALLED_APPS = [
...
"django_bootstrap5",
"django_cd",
]
Add to settings.py:
ACTIONS = {
"command": "django_cd.actions.CommandAction",
"git-checkout": "django_cd.actions.GitCheckoutAction",
"python-run": "django_cd.actions.PythonAction",
"python-pytest": "django_cd.actions.PythonPytestAction",
"python-venv": "django_cd.actions.PythonVirtualEnvAction",
}
TRIGGERS = {
"cron": "django_cd.triggers.CronTrigger",
}
NOTIFICATIONS = {
"email": "django_cd.notifications.EmailNotification",
}
JOBFILES = []
WORKDIR = ""
License
The library is provided under the MIT license license.
Copyright (c) 2021, Philippe Pinard
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
django-cd-1.2.tar.gz
(34.6 kB
view hashes)
Built Distribution
django_cd-1.2-py3-none-any.whl
(19.2 kB
view hashes)