[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
58 lines (33 loc) · 1.01 KB

README.rst

File metadata and controls

58 lines (33 loc) · 1.01 KB

Summary

A Flask extension for compressing/minifying assets.

A Flask-Script submanager is also provided.

https://api.travis-ci.org/rehandalal/flask-funnel.png

Documentation

Documentation is at http://flask-funnel.readthedocs.org/en/latest/.

Install

To install:

$ pip install Flask-Funnel

You can also install the development version https://github.com/rehandalal/flask-funnel/tarball/master#egg=Flask-Funnel-dev:

$ pip install Flask-Funnel==dev

or:

$ git clone git://github.com/rehandalal/flask-funnel.git
$ mkvirtualenv flaskfunnel
$ python setup.py develop
$ pip install -r requirements.txt

Quickstart

To get started using Flask-Funnel simply add the following to your Flask app:

from flask import Flask
from flask.ext.import Funnel

app = Flask(__name__)
Funnel(app)

Test

To run tests from a tarball or git clone:

$ python setup.py test