-
Notifications
You must be signed in to change notification settings - Fork 2
/
demo.cfg
64 lines (60 loc) · 1.39 KB
/
demo.cfg
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
# Set logging levels -- first the default for the whole system, then a custom level for
# several classes.
logging:
global: notice
Arrow::Template: info
Arrow::Applet: debug
# Configure which applets are loaded from RubyGems
gems:
require_signed: false
autoinstall: false
applets:
arrow-demo-apps: >= 0.9.4
# Set up the applets that make up the site
applets:
missingApplet: "/missing"
errorApplet: "/error"
pattern: "*.rb"
path:
- data/applets
- "/www/applets"
pollInterval: 5
config: {}
layout:
"/args": ArgumentTester
"/hello": HelloWorld
"/missing": NoSuchAppletHandler
"/status": ServerStatus
"/error": ErrorHandler
"/view-template": TemplateViewer
"/view-applet": AppletViewer
"/count": AccessCounter
"/count/hello": HelloWorld
"/protected": ProtectedDelegator
"/protected/hello": HelloWorld
"/test": UnitTester
"/test/hello": HelloWorld
"/files": LoadedFiles
"/bluecloth": BlueClothDingus
"/redir": RedirectorApplet
# Configure the templating system
templates:
loader: Arrow::Template
cache: true
cacheConfig:
maxObjSize: 131072
maxNum: 20
expiration: 36
maxSize: 2621440
path:
- data/templates
- "/www/templates"
# Configure sessions
session:
expires: "+48h"
lockType: recommended
storeType: file:/tmp
rewriteUrls: true
idType: md5:.
idName: arrow-session