Skip to main content

TODO Add description

Project description

Requirements Status

Installation

This package is not yet on PyPI.

pip install --upgrade git+git://github.com/illagrenan/django-fab-deployer.git#egg=django-fab-deployer

Usage

# Generate example deployment configuration:
fdep write_example_config

Command above will generate example.json file in current directory. Example of deployment configuration:

{
  "dev": {
    "celery_enabled": true,
    "deploy_path": "/var/www/dev_my_project",
    "hosts": "8.8.8.8",
    "key_filename": "~/.ssh/id_rsa.PUB",
    "project_name": "dev_my_project",
    "user": "dev_my_project",
    "venv_path": "data/.venv/bin/activate",
    "warn_on_deploy": false
  },
  "production": {
    "celery_enabled": true,
    "deploy_path": "/var/www/prod_my_project",
    "hosts": "8.8.8.8",
    "key_filename": "~/.ssh/id_rsa.PUB",
    "project_name": "prod_my_project",
    "user": "prod_my_project",
    "venv_path": "data/.venv/bin/activate",
    "warn_on_deploy": true
  }
}

Save this file as deploy.json and run:

fdep dev deploy
# Or
fdep production deploy

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

django_fab_deployer-0.0.1.zip (9.2 kB view hashes)

Uploaded Source

Built Distribution

django_fab_deployer-0.0.1-py2.py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 2 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