Skip to main content

Python tool to deploy python web application automatically

Project description

deployee

Build Status license

Server requirements:

  • rsync
  • supervisor
  • python3
  • virtualenv
  • pip

Usage

Deploy an django application.

deployee /path/to/project production

Deploy a flask application.

./run.py /path/to/project production --framework flask --script "python -m app"

Project Structure

/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 to the directory tree
  • add ansible
  • add attr evaluation to format
  • add string formatter

Fixes

  • fix log path

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

deployee-0.14.0.tar.gz (17.8 kB view hashes)

Uploaded Source

Built Distribution

deployee-0.14.0-py3-none-any.whl (20.3 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