blob: 655260604a23cdddca32d7ac57ed04ca37f753cf [file] [log] [blame]
Nils Diewald5d1ffb42014-05-21 17:45:34 +00001{
2 KorAP => {
Nils Diewald1d2903f2014-11-03 22:31:20 +00003# 'api-0.1' => 'http://10.0.10.13:8888/api/v0.1/'
4 'api-0.1' => 'http://10.0.10.13:7070/api/v0.1/'
Nils Diewalddd2d4e82014-05-31 17:08:33 +00005 },
6 Notifications => {
Nils Diewald2ef057e2014-11-04 16:04:17 +00007 Alertify => {
8 base_timeout => 10_000
9 },
Nils Diewald02df9912014-06-03 16:08:07 +000010 JSON => 1
Nils Diewalddd2d4e82014-05-31 17:08:33 +000011 },
12 Search => {
13 engine => 'Korap::Plugin::KorapSearch'
Nils Diewald2329e1d2014-06-12 16:07:57 +000014 },
15 CHI => {
Nils Diewald94bae912014-09-22 13:40:31 +000016 session_cache => {
17 driver => 'FastMmap',
18 root_dir => app->home . '/cache/session',
19 cache_size => '3m'
20 },
Nils Diewald2329e1d2014-06-12 16:07:57 +000021 default => {
22 driver => 'FastMmap',
Nils Diewald94bae912014-09-22 13:40:31 +000023 root_dir => app->home . '/cache/data',
Nils Diewald2329e1d2014-06-12 16:07:57 +000024 cache_size => '12m'
25 }
Nils Diewald1eba6572014-06-17 19:49:53 +000026 },
Nils Diewald94bae912014-09-22 13:40:31 +000027 Oro => {
28 users => {
29 file => app->home .'/db/users.sqlite'
30 },
31 },
32 'Oro-Session' => {
33 name => 'KorAP',
34 chi_handle => 'session_cache'
35 },
36 'Oro-Account' => {
37 invalid => [qw/corpus collection user admin tutorial/],
38 default_lang => 'de',
39 oro_handle => 'users',
40 },
Nils Diewald1eba6572014-06-17 19:49:53 +000041 hypnotoad => {
Nils Diewalddd9d8d72014-06-23 15:09:37 +000042 listen => ['http://*:6666', 'http://*:5555'],
Nils Diewaldf2e02a92014-11-12 18:31:05 +000043 workers => 5,
44 inactivity_timeout => 120
Nils Diewald002e8fb2014-06-22 14:27:01 +000045 },
46 'TagHelpers-Pagination' => {
47 prev => '<span><i class="fa fa-caret-left"></i></span>',
48 next => '<span><i class="fa fa-caret-right"></i></span>',
49 ellipsis => '<span><i class="fa fa-ellipsis-h"></i></span>',
50 separator => '',
51 current => '<span>{current}</span>',
52 page => '<span>{page}</span>'
Nils Diewald4e9fbcb2014-07-15 11:45:09 +000053 },
54 MailException => {
55 from => 'korap@ids-mannheim.de',
56 to => 'diewald@ids-mannheim.de',
57 subject => '[KorAP] Testbed crashed'
Nils Diewald5d1ffb42014-05-21 17:45:34 +000058 }
59}