deployee-0.14.0
توضیحات
Python tool to deploy python web application automatically
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | deployee-0.14.0 |
| نام | deployee |
| نسخه کتابخانه | 0.14.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | wqy |
| ایمیل نویسنده | qiyingwangwqy@gmail.com |
| آدرس صفحه اصلی | https://github.com/WqyJh/deployee |
| آدرس اینترنتی | https://pypi.org/project/deployee/ |
| مجوز | - |
# deployee
[](https://travis-ci.org/WqyJh/deployee)
[](https://raw.githubusercontent.com/WqyJh/deployee/master/LICENSE)
Server requirements:
- rsync
- supervisor
- python3
- virtualenv
- pip
## Usage
Deploy an django application.
```bash
deployee /path/to/project production
```
Deploy a flask application.
```bash
./run.py /path/to/project production --framework flask --script "python -m app"
```
## Project Structure
```bash
/var
├── lib
│ ├── local_settings
│ │ └── project
│ │ ├── production
│ │ ├── staging
│ │ └── test
│ └── venv
│ │ └── project
│ │ ├── production
| | | └── <hash>
│ │ ├── staging
| | | └── <hash>
│ │ └── test
├── log
│ └── project
│ ├── production
│ ├── staging
│ └── test
├── media
│ └── project
│ ├── production
│ ├── staging
│ └── test
├── static
│ └── project
│ ├── production
│ ├── staging
│ └── test
└── www
│ └── project
│ ├── production
| | └── <hash>
│ ├── staging
| | └── <hash>
│ └── test
```
# Changelog
## 0.14.0
#### New Features
* create working directory under /tmp
* add parallel option for django test
## 0.12.0
#### New Features
* add inventory argument
* add pkg_resources
* add support for custom script
* add --dry-run
* support stages
* add click to create cli
* generate vars.yml
* run playbook with python
* add <hash> to the directory tree
* add ansible
* add attr evaluation to format
* add string formatter
#### Fixes
* fix log path
نیازمندی
| مقدار | نام |
|---|---|
| - | plumbum |
| - | ansible |
| - | pyyaml |
| - | click |
نحوه نصب
نصب پکیج whl deployee-0.14.0:
pip install deployee-0.14.0.whl
نصب پکیج tar.gz deployee-0.14.0:
pip install deployee-0.14.0.tar.gz