parent
2e95b38cac
commit
0f142a65e8
@ -1,12 +1,25 @@ |
||||
# Everything that needed in production |
||||
|
||||
# Flask |
||||
Flask==0.10.1 |
||||
Flask-SQLAlchemy==1.0 |
||||
Flask-WTF==0.9.2 |
||||
Jinja2==2.7 |
||||
MarkupSafe==0.18 |
||||
Werkzeug==0.9.4 |
||||
Jinja2==2.7 |
||||
itsdangerous==0.23 |
||||
|
||||
# Database |
||||
Flask-SQLAlchemy==1.0 |
||||
SQLAlchemy==0.8.2 |
||||
|
||||
# Forms |
||||
Flask-WTF==0.9.2 |
||||
WTForms==1.0.4 |
||||
Werkzeug==0.9.4 |
||||
|
||||
# Deployment |
||||
gunicorn==17.5 |
||||
itsdangerous==0.23 |
||||
wsgiref==0.1.2 |
||||
|
||||
# Assets |
||||
Flask-Assets==0.8 |
||||
cssmin>=0.1.4 |
||||
jsmin>=2.0.4 |
||||
|
@ -0,0 +1,20 @@ |
||||
# -*- coding: utf-8 -*- |
||||
from flask.ext.assets import Bundle |
||||
|
||||
common_css = Bundle( |
||||
"libs/bootstrap3/css/bootstrap.min.css", |
||||
"css/style.css", |
||||
filters="cssmin", |
||||
output="public/css/common.css" |
||||
) |
||||
|
||||
common_js = Bundle( |
||||
"libs/jquery2/jquery-2.0.3.min.js", |
||||
"libs/bootstrap3/js/bootstrap.min.js", |
||||
"js/plugins.js", |
||||
Bundle( |
||||
"js/script.js", |
||||
filters="jsmin" |
||||
), |
||||
output="public/js/common.js" |
||||
) |
Loading…
Reference in new issue