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.

Files for django_fab_deployer, version 0.0.11
Filename, size File type Python version Upload date Hashes
Filename, size django_fab_deployer-0.0.11-py2.py3-none-any.whl (7.1 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size django_fab_deployer-0.0.11.zip (9.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page