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 | 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-bower-app-0.5.zip
.
File metadata
- Download URL: django-bower-app-0.5.zip
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaeb8dd3346a9db86bbffe4ced87d4380b0540ed09ec708acf9d58ca043f9b96 |
|
MD5 | 04b66a6e4616f447459305baa62aab4e |
|
BLAKE2b-256 | 0c8633e08a443e630644a032e19ae3ef7bddb7c55e62947d600855f0c901bd75 |