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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-deployment-0.1.4.5.tar.gz
.
File metadata
- Download URL: django-deployment-0.1.4.5.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8f51cb6c9a9295b7af51be93f134234cda09f5fc12e3f8da1c282850f57380f |
|
MD5 | db894426b4e3009c6fe25619f93df521 |
|
BLAKE2b-256 | c2593ad41537a7dc80c36bd04e80cb854b4ccb97b998e641b120b4f5d910396d |