Skip to main content

A simple deployment Django library using Fabric and Chef

Project description

# django-deployment Use Fabric and Chef-Solo to manage deployment

Start by defining the information for your server. You can do this perhaps in local_settings.py or settings.py.

from fabric.api import env env.hosts = [“server_ip”] env.user = “user” env.password = “password”

There are a bunch of templates that can be overriden to configure deployment. During the deployment process, these files are generated and sent up to the server, so Chef can use them. We use Django inheritance, so any changes you make will be picked up.

  • deployment/local_settings.py.erb

  • deployment/logrotate.erb

  • deployment/nginx.conf.erb

  • deployment/run_celery.sh.erb

  • deployment/run_gunicorn.sh.erb

  • deployment/upstart_celery.conf.erb

  • deployment/upstart_gunicorn.conf.erb

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-deployment-0.1.4.5.tar.gz (12.9 kB view details)

Uploaded Source

File details

Details for the file django-deployment-0.1.4.5.tar.gz.

File metadata

File hashes

Hashes for django-deployment-0.1.4.5.tar.gz
Algorithm Hash digest
SHA256 b8f51cb6c9a9295b7af51be93f134234cda09f5fc12e3f8da1c282850f57380f
MD5 db894426b4e3009c6fe25619f93df521
BLAKE2b-256 c2593ad41537a7dc80c36bd04e80cb854b4ccb97b998e641b120b4f5d910396d

See more details on using hashes here.

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