forked from chrisgeo/comboloader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
35 lines (29 loc) · 1.02 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
ComboLoader
WSGI App that is used in combination with another service/server that will allow the combining of any javascript or CSS files into a single, minimized (if not already), file and cache it.
Example INI:
[server:main]
use = egg:Paste#http
host = 0.0.0.0
port = 80
[composite:main]
use = egg:Paste#urlmap
/ = YOURAPP
/combo = loader
[app:loader]
use = egg:comboloader
base_js_dir = %(here)s/../howler/python/howler/howler/public/js
base_css_dir = %(here)s/css/
base_img_dir = %(here)s/img/
config_file = %(here)s/config/combo.json
use_config = False
#session config
beaker.session.data_dir = %(here)s/data/sdata
beaker.session.lock_dir = %(here)s/data/slock
beaker.session.key = comboloader
beaker.session.secret = somesecret
beaker.session.type = cookie
beaker.session.validate_key = STRONG_KEY_HERE
beaker.session.cookie_domain = .yourdomain.com
[app:YOURAPP]
use = egg:YOURAPP
full_stack = true