.. _configuration:

Configuration
=============

You can configure djed.static via your ini-file:

.. code-block:: ini

    [app:myapp]
    djed.static.components_path = myapp:static/bower_components
    ...

To understand the ini-setting options, let's take a look at the URL structure
that is generated by BowerStatic:

.. code-block:: bash

    /bowerstatic/components/jquery/2.1.1/dist/jquery.js

The setting options allow you to change the first and second part of your
static components URLs:

djed.static.publisher_signature
    The first part of all static components URLs.

    default: ``bowerstatic``

djed.static.components_name
    The name for the components collection (second part of the static URL).

    default: ``components``

djed.static.components_path
    The path or asset specification to the ``bower_components`` directory.

    default: ``None``
