Skip to main content

Installing frontend Django dependencies via bower.

Project description

Installing frontend Django dependencies via bower.


To get the latest stable release from PyPi

$ pip install jack-bower

To get the latest commit from GitHub

$ pip install -e git+git://

Add bower to your INSTALLED_APPS



Use ./ bower_init <app_name> to bootstrap an app with .bowerrc, bower.json and .gitignore. Add your dependencies to bower.json

    "dependencies": {
        "backbone": "1.0.0",
        "underscore": "1.4.4"

Then just run ./ bower_install and it’ll install all the dependencies in all the INSTALLED_APPS apps that has a bower.json. Default install path is static/components/<library>, you can edit .bowerrc to change that.

Use like normal in templates:

{% load staticfiles %}
{% static 'components/bootstrap/bootstrap.js'%}


If you want to contribute to this project, please perform the following steps:

# Fork this repository
# Clone your fork
$ mkvirtualenv -p python2.7 jack-bower
$ node -g install bower
$ python install

$ git co -b feature_branch master
# Implement your feature
$ git add . && git commit
$ git push -u origin feature_branch
# Send us a pull request for your feature branch

Project details

Download files

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

Source Distribution

jack-bower-0.1.4.tar.gz (4.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page