django-collectstatic-bower-0.1.2
توضیحات
Automatically install Bower components using Django's collectstatic
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django-collectstatic-bower-0.1.2 |
| نام | django-collectstatic-bower |
| نسخه کتابخانه | 0.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Nick Allen |
| ایمیل نویسنده | nick.allen.cse@gmail.com |
| آدرس صفحه اصلی | https://github.com/nick-allen/django-collectstatic-bower |
| آدرس اینترنتی | https://pypi.org/project/django-collectstatic-bower/ |
| مجوز | MIT |
==========================
django-collectstatic-bower
==========================
Django static file finder that automatically runs bower install and collects components when running Django's collectstatic
Respects .bowerrc directory config when collecting files
Tested on python 2.7 and 3.5
Install
------------------
Pip install package
``pip install django-collectstatic-bower``
Add to ``STATICFILE_FINDERS``::
STATICFILE_FINDERS = (
...
'django_collectstatic_bower.staticfiles.finders.BowerComponentFinder',
)
That's it, just collectstatic files like normal
``./manage.py collectstatic``
نحوه نصب
نصب پکیج whl django-collectstatic-bower-0.1.2:
pip install django-collectstatic-bower-0.1.2.whl
نصب پکیج tar.gz django-collectstatic-bower-0.1.2:
pip install django-collectstatic-bower-0.1.2.tar.gz