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 => { |
Nils Diewald | 996aa55 | 2014-12-02 03:26:44 +0000 | [diff] [blame^] | 13 | engine => 'Korap::API', |
| 14 | api => 'http://10.0.10.13:7070/api/v0.1/' |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 15 | }, |
| 16 | CHI => { |
Nils Diewald | 94bae91 | 2014-09-22 13:40:31 +0000 | [diff] [blame] | 17 | session_cache => { |
| 18 | driver => 'FastMmap', |
| 19 | root_dir => app->home . '/cache/session', |
| 20 | cache_size => '3m' |
| 21 | }, |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 22 | default => { |
| 23 | driver => 'FastMmap', |
Nils Diewald | 94bae91 | 2014-09-22 13:40:31 +0000 | [diff] [blame] | 24 | root_dir => app->home . '/cache/data', |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 25 | cache_size => '12m' |
| 26 | } |
Nils Diewald | 1eba657 | 2014-06-17 19:49:53 +0000 | [diff] [blame] | 27 | }, |
Nils Diewald | 94bae91 | 2014-09-22 13:40:31 +0000 | [diff] [blame] | 28 | Oro => { |
| 29 | users => { |
| 30 | file => app->home .'/db/users.sqlite' |
| 31 | }, |
| 32 | }, |
| 33 | 'Oro-Session' => { |
| 34 | name => 'KorAP', |
| 35 | chi_handle => 'session_cache' |
| 36 | }, |
| 37 | 'Oro-Account' => { |
| 38 | invalid => [qw/corpus collection user admin tutorial/], |
| 39 | default_lang => 'de', |
| 40 | oro_handle => 'users', |
| 41 | }, |
Nils Diewald | 1eba657 | 2014-06-17 19:49:53 +0000 | [diff] [blame] | 42 | hypnotoad => { |
Nils Diewald | dd9d8d7 | 2014-06-23 15:09:37 +0000 | [diff] [blame] | 43 | listen => ['http://*:6666', 'http://*:5555'], |
Nils Diewald | f2e02a9 | 2014-11-12 18:31:05 +0000 | [diff] [blame] | 44 | workers => 5, |
| 45 | inactivity_timeout => 120 |
Nils Diewald | 002e8fb | 2014-06-22 14:27:01 +0000 | [diff] [blame] | 46 | }, |
| 47 | 'TagHelpers-Pagination' => { |
| 48 | prev => '<span><i class="fa fa-caret-left"></i></span>', |
| 49 | next => '<span><i class="fa fa-caret-right"></i></span>', |
| 50 | ellipsis => '<span><i class="fa fa-ellipsis-h"></i></span>', |
| 51 | separator => '', |
| 52 | current => '<span>{current}</span>', |
| 53 | page => '<span>{page}</span>' |
Nils Diewald | 4e9fbcb | 2014-07-15 11:45:09 +0000 | [diff] [blame] | 54 | }, |
| 55 | MailException => { |
| 56 | from => 'korap@ids-mannheim.de', |
| 57 | to => 'diewald@ids-mannheim.de', |
| 58 | subject => '[KorAP] Testbed crashed' |
Nils Diewald | 5d1ffb4 | 2014-05-21 17:45:34 +0000 | [diff] [blame] | 59 | } |
| 60 | } |