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.

Files for django-deployment, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size django-deployment-0.1.4.tar.gz (23.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page