-
Notifications
You must be signed in to change notification settings - Fork 0
/
sys.config
117 lines (101 loc) · 2.86 KB
/
sys.config
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[
{n2o,[
{port, 8001 }
,{websocket_port, 8001 }
,{upload, "/tmp"}
,{session, n2o_session}
,{ttl, 3600}
,{mq, n2o_syn}
,{formatter,bert}
,{minify,{"apps/cms/priv/static",
["deps/n2o/priv/bullet.js",
"deps/n2o/priv/n2o.js",
"deps/n2o/priv/ftp.js",
"deps/n2o/priv/protocols/bert.js",
"deps/n2o/priv/protocols/nitrogen.js",
"deps/n2o/priv/utf8.js",
"deps/n2o/priv/validation.js"]}}
,{route, naga_routes}
,{secret,<<"bizwego-This-IS-Classified-Change-Me">>}
,{log_modules, cms }
,{log_backend, n2o_log}
,{origin,<<"*">>}
,{bridge,naga_cowboy}
,{pickler,n2o_pickle}
,{erroring,n2o_error}
,{event,pickle}
,{protocols,[ n2o_heart,
n2o_nitrogen,
n2o_file,
n2o_client
]}
]},
{ naga, [
{watch,[cms]}
]},
{mnesia, [{dir, "./data/db"}
%,{debug, verbose}
]},
{kvs, [
{dba,store_mnesia},
{generation,{cms_db,limit}},
{forbidding,{cms_db,forbid}},
{schema, [
kvs_feed
,kvs_subscription
,cms_db
]}
]},
{ cms, [
{domain, all}
,{mode, dev}
,{theme, blog}
,{rules, [view,routes]}
,{lang_dir, "./priv/lang"}
,{base_url, "/"}
,{modules, [cms_adm]}
,{assume_locale, <<"en">>}
,{i18n, false}
,{websocket_port, 8001 }
,{listeners,[
{http, [
{acceptors, 10},
{ip,{0,0,0,0}},
{port, 8001 }
]}
]}
,{data_dir, "./data" }
,{upload_dir, "/tmp"}
,{controller_filters_config,[]}
,{controller_filters,[
cms_filter_theme
]}
,{template_tag_modules,[]}
,{template_filter_modules,[]}
]},
{ cms_adm, [
{domain, all}
,{mode, dev}
,{theme, gentelella}
,{base_url, "/admin"}
,{assume_locale, <<"en">>}
,{i18n, false}
,{websocket_port, 8001 }
,{listeners,[
{http, [
{acceptors, 10},
{ip,{0,0,0,0}},
{port, 8001 }
]}
]}
,{controller_filters_config,[
{ cms_adm_filter_auth, []}
]}
,{controller_filters,[
cms_adm_filter_auth,
cms_filter_theme
]}
,{template_tag_modules,[]}
,{template_filter_modules,[]}
]}
].