django-development-fabfile-2.9.1


توضیحات

A fabfile to ease many tasks during development and deployment of Django projects.
ویژگی مقدار
سیستم عامل -
نام فایل django-development-fabfile-2.9.1
نام django-development-fabfile
نسخه کتابخانه 2.9.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Martin Brochhaus
ایمیل نویسنده martin.brochhaus@bitmazk.com
آدرس صفحه اصلی https://github.com/bitmazk/django-development-fabfile
آدرس اینترنتی https://pypi.org/project/django-development-fabfile/
مجوز The MIT License
Django Development Fabfile ========================== 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 If you are on Django < 1.6, put the following code in your ``fabfile/__init__.py``:: # 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 * If you are on Django >=1.6, put the following code in your ``fabfile/__init__.py``:: import os os.environ.setdefault( "DJANGO_SETTINGS_MODULE", "myproject.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. Python 3 ++++++++ Please note, that fabric isn't working with Python 3. Please use ``fabric3`` instead.


نحوه نصب


نصب پکیج whl django-development-fabfile-2.9.1:

    pip install django-development-fabfile-2.9.1.whl


نصب پکیج tar.gz django-development-fabfile-2.9.1:

    pip install django-development-fabfile-2.9.1.tar.gz