Skip to main content

TODO Add description

Project description

Requirements Status

Installation

pip install --upgrade django_fab_deployer

Usage

# Generate example deployment configuration:
djdeploy 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:

djdeploy dev deploy # To upgrade pip requirements: djdeploy dev deploy:upgrade=True
# Or
djdeploy 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.10.zip (9.5 kB view hashes)

Uploaded Source

Built Distribution

django_fab_deployer-0.0.10-py2.py3-none-any.whl (7.1 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