-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.config
78 lines (71 loc) · 2.49 KB
/
app.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
%% -*- mode: erlang -*-
%% vim: sw=4 ts=4 et ft=erlang
[
{nitrogen_website, [
% If a signkey is not specified, then Nitrogen uses the Erlang cookie.
% {signkey, "Nitrogen Sign Key"}
% Default session timeout is 20 minutes.
% {session_timeout, 20},
% Specify a session cookie name. Uses "wf" by default.
% {cookie_name, "wf"}
{recaptcha,[
{public_key, "6LeG_eMSAAAAABAySq9DH3_PcKvYZRwvDiMhtMkq"},
{private_key, ""}
]},
{smart_extensions, [
{"json", json_main, {nitrogen_smart_extensions, json}}
]},
{test_browsers, [
"google-chrome" %% Google Chrome
%% , "firefox-trunk" %% Firefox Nightly
%% , "firefox" %% Firefox
%% , "chromium-browser" %% Chromium
%% , "konqueror" %% Konqueror
%% , "open -a safari" %% Safari on OSX
%% , "open -a 'Google Chrome'" %% Chrome on OSX
%% , "open -a 'Firefox'" %% Firefox on OSX
%% , undefined %% Manually Loaded
]},
{tests, [
"/tests/basic",
"/tests/simplecontrols",
"/tests/advancedcontrols1",
"/tests/advancedcontrols2",
"/tests/validation",
"/tests/unicode/1",
"/tests/unicode/2",
"/tests/unicode/3",
"/tests/unicode/4",
"/tests/unicode/5",
"/tests/unicode/6",
"/tests/unicode/7"
%% TEST TO ADD
%% Session/State Tests (beyond what's used by the test system)
%% Comet/async tets
%% comet Continations
%% priority wiring
%% restful forms and api
%% smart extensions
%% Wizard
%% basic mobile stuff
]}
]},
%% SASL config
{sasl, [
{sasl_error_logger, {file, "log/sasl-error.log"}},
{errlog_type, error},
{error_logger_mf_dir, "log/sasl"}, % Log directory
{error_logger_mf_maxbytes, 10485760}, % 10 MB max file size
{error_logger_mf_maxfiles, 5} % 5 files max
]},
{simple_bridge, [
{backend, mochiweb},
{handler, nitrogen},
{address, "0.0.0.0"},
{port, 8000},
{document_root, "./static"},
{static_paths, ["js/","images/","css/","nitrogen/"]},
{max_post_size, 1000},
{max_file_size, 1000}
]}
].