django-cd-1.2
توضیحات
Continuous deloyment
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django-cd-1.2 |
| نام | django-cd |
| نسخه کتابخانه | 1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Philippe Pinard |
| ایمیل نویسنده | philippe.pinard@gmail.com |
| آدرس صفحه اصلی | https://github.com/ppinard/django-cd |
| آدرس اینترنتی | https://pypi.org/project/django-cd/ |
| مجوز | MIT license |
# 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`:
```python
INSTALLED_APPS = [
...
"django_bootstrap5",
"django_cd",
]
```
Add to settings.py:
```python
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
نیازمندی
| مقدار | نام |
|---|---|
| - | django |
| - | django-bootstrap5 |
| - | loguru |
| - | pyyaml |
| - | yarl |
| - | pytest |
| - | huey |
| - | crontab |
| - | sphinx |
| - | pytest |
| - | pytest-cov |
| - | pytest-django |
نحوه نصب
نصب پکیج whl django-cd-1.2:
pip install django-cd-1.2.whl
نصب پکیج tar.gz django-cd-1.2:
pip install django-cd-1.2.tar.gz