Nils Diewald | 5d1ffb4 | 2014-05-21 17:45:34 +0000 | [diff] [blame] | 1 | { |
| 2 | KorAP => { |
Nils Diewald | 1d2903f | 2014-11-03 22:31:20 +0000 | [diff] [blame] | 3 | # '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 Diewald | dd2d4e8 | 2014-05-31 17:08:33 +0000 | [diff] [blame] | 5 | }, |
| 6 | Notifications => { |
Nils Diewald | 2ef057e | 2014-11-04 16:04:17 +0000 | [diff] [blame] | 7 | Alertify => { |
| 8 | base_timeout => 10_000 |
| 9 | }, |
Nils Diewald | 02df991 | 2014-06-03 16:08:07 +0000 | [diff] [blame] | 10 | JSON => 1 |
Nils Diewald | dd2d4e8 | 2014-05-31 17:08:33 +0000 | [diff] [blame] | 11 | }, |
| 12 | Search => { |
| 13 | engine => 'Korap::Plugin::KorapSearch' |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 14 | }, |
| 15 | CHI => { |
Nils Diewald | 94bae91 | 2014-09-22 13:40:31 +0000 | [diff] [blame] | 16 | session_cache => { |
| 17 | driver => 'FastMmap', |
| 18 | root_dir => app->home . '/cache/session', |
| 19 | cache_size => '3m' |
| 20 | }, |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 21 | default => { |
| 22 | driver => 'FastMmap', |
Nils Diewald | 94bae91 | 2014-09-22 13:40:31 +0000 | [diff] [blame] | 23 | root_dir => app->home . '/cache/data', |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 24 | cache_size => '12m' |
| 25 | } |
Nils Diewald | 1eba657 | 2014-06-17 19:49:53 +0000 | [diff] [blame] | 26 | }, |
Nils Diewald | 94bae91 | 2014-09-22 13:40:31 +0000 | [diff] [blame] | 27 | 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 Diewald | 1eba657 | 2014-06-17 19:49:53 +0000 | [diff] [blame] | 41 | hypnotoad => { |
Nils Diewald | dd9d8d7 | 2014-06-23 15:09:37 +0000 | [diff] [blame] | 42 | listen => ['http://*:6666', 'http://*:5555'], |
Nils Diewald | f2e02a9 | 2014-11-12 18:31:05 +0000 | [diff] [blame^] | 43 | workers => 5, |
| 44 | inactivity_timeout => 120 |
Nils Diewald | 002e8fb | 2014-06-22 14:27:01 +0000 | [diff] [blame] | 45 | }, |
| 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 Diewald | 4e9fbcb | 2014-07-15 11:45:09 +0000 | [diff] [blame] | 53 | }, |
| 54 | MailException => { |
| 55 | from => 'korap@ids-mannheim.de', |
| 56 | to => 'diewald@ids-mannheim.de', |
| 57 | subject => '[KorAP] Testbed crashed' |
Nils Diewald | 5d1ffb4 | 2014-05-21 17:45:34 +0000 | [diff] [blame] | 58 | } |
| 59 | } |