A fabfile to ease many tasks during development and deployment of Django projects.
Project description
A fabfile to ease many tasks during development and deployment of Django projects.
Installation
Just add django-development-fabfile to your requirements.txt and install it via pip install -r requirements.txt.
Then create the following files in your project root (usually the folder where your manage.py file resides):
fabfile/ -- __init__.py -- your_own_fab_tasks.py
In your fabfile/__init__.py put the following code:
# flake8: noqa from myproject import settings from django.core.management import setup_environ setup_environ(settings) from development_fabfile.fabfile import * from .your_own_fab_tasks import *
In your settings.py at the very bottom add the following:
from fabfile_settings import * # NOQA
Then create a fabfile_settings.py next to your settings.py and add all necessary settings. As a starting point you can copy the fabfile_settings.py.sample of this project and change all values to your project.
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
Hashes for django-development-fabfile-0.6.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b8347a115c52acdb1d0dfaf89bd5422b4d2ac45dacecff7529f29dd9938ce70 |
|
MD5 | 5c5d1ef5c5c7acb8ed008bf2576ee4ca |
|
BLAKE2b-256 | af7a92bef5aff1f793aa9d2d8c65e7c5d944f3ff77f25339ca031d3f315f7646 |