Integration of BowerStatic into Pyramid for managing static resources with Bower
Project description
===========
djed.static
===========
.. image:: https://travis-ci.org/djedproject/djed.static.png?branch=master
:target: https://travis-ci.org/djedproject/djed.static
djed.static integrates BowerStatic_ into the `Pyramid Web Framework`_.
BowerStatic is a WSGI component that can serve static resources from
front-end packages (JavaScript, CSS) that you install through the Bower_
package manager.
.. _Bower: http://bower.io
.. _BowerStatic: https://bowerstatic.readthedocs.org
.. _Pyramid Web Framework: https://pyramid.readthedocs.org
Getting Started
===============
Install the package into your python environment::
pip install djed.static
Include it in your Pyramid application::
config.include('djed.static')
Initialize a ``bower_components`` directory::
config.init_bower_components('myapp:static/bower_components')
Include desired Bower packages on your page. You can do this in templates or
somewhere else in your code::
request.include('bootstrap')
All required dependencies are also included on the page.
Documentation and Support
=========================
Documentation can be found at `http://djedstatic.readthedocs.org/ <https://djedstatic.readthedocs.org/>`_
If you've got questions, contact the `djedproject mailling list <https://groups.google.com/group/djedproject>`_.
To report bugs, use the `issue tracker <https://github.com/djedproject/djed.static/issues>`_.
License
=======
djed.static is offered under the `ISC license`_.
.. _ISC license: http://choosealicense.com/licenses/isc/
Change History
==============
0.2 (2015-01-09)
----------------
- Added documentation
- Added ``ini`` setting options
0.1 (2015-01-06)
----------------
- Initial release
djed.static
===========
.. image:: https://travis-ci.org/djedproject/djed.static.png?branch=master
:target: https://travis-ci.org/djedproject/djed.static
djed.static integrates BowerStatic_ into the `Pyramid Web Framework`_.
BowerStatic is a WSGI component that can serve static resources from
front-end packages (JavaScript, CSS) that you install through the Bower_
package manager.
.. _Bower: http://bower.io
.. _BowerStatic: https://bowerstatic.readthedocs.org
.. _Pyramid Web Framework: https://pyramid.readthedocs.org
Getting Started
===============
Install the package into your python environment::
pip install djed.static
Include it in your Pyramid application::
config.include('djed.static')
Initialize a ``bower_components`` directory::
config.init_bower_components('myapp:static/bower_components')
Include desired Bower packages on your page. You can do this in templates or
somewhere else in your code::
request.include('bootstrap')
All required dependencies are also included on the page.
Documentation and Support
=========================
Documentation can be found at `http://djedstatic.readthedocs.org/ <https://djedstatic.readthedocs.org/>`_
If you've got questions, contact the `djedproject mailling list <https://groups.google.com/group/djedproject>`_.
To report bugs, use the `issue tracker <https://github.com/djedproject/djed.static/issues>`_.
License
=======
djed.static is offered under the `ISC license`_.
.. _ISC license: http://choosealicense.com/licenses/isc/
Change History
==============
0.2 (2015-01-09)
----------------
- Added documentation
- Added ``ini`` setting options
0.1 (2015-01-06)
----------------
- Initial release
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
djed.static-0.2.tar.gz
(95.5 kB
view hashes)