Specifie BOWER_INSTALLED_APPS in settings, like:


Download bower packages with management command:

./ bower install

Add scripts in template, like:

{% load static %}
<script type="text/javascript" src='{% static 'jquery/jquery.js' %}'></script>

In production you need to call bower install before collectstatic:

./ bower install
./ collectstatic

If you need to pass arguments to bower, like –allow-root, use:

./ bower install -- --allow-root

You can use bower freeze to receive BOWER_INSTALLED_APPS with fixed current versions:

./ bower freeze

You can call bower commands like info and update with:

./ bower info backbone
./ bower update