Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Library to manage bower.json dependancies with ease

Project description

Library to manage bower.json dependancies with ease

WHY

Managing assets for django is more and more complicated when you need to interact with heavy javascript page. Now many javascripts developers use bower to manger their dependancies.

Bower then need to be interfaced with Django as seemlessly as possible. Neither the javascript developer nor the django developper must change the way they work.

django-bower-app aims to be the glue between javascript and django with simple, easy to manage code.

HOW

A simple command, bower_install will look in each of the static directory of each app and extract the bower.json, letting bower_components untouched and build each module dependancies in the settings.STATIC_ROOT directory.

You can now develop your javascript apps with bower and create a production ready environnment with bower_install

Requirements

Obviousely, to run django-bower-app, you need bower and django. That’s all.

INSTALL

First download this module and install it with

>>> python setup.py install

Then add “djangobwr” to your INSTALLED_APPS

>>> INSTALLED_APPS = (
...
"djangobwr",
...
)

you are ready to run the command each time you want to collect the bower dependancies:

>>> python manage.py bower_install

Project details


Release history Release notifications

This version
History Node

0.5

History Node

0.4

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-bower-app-0.5.zip (7.9 kB) Copy SHA256 hash SHA256 Source None Sep 16, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page