« blib/lib/auto/share/dist/Cmd-Dwarf/app/lib/Dwarf/SQLBuilder.pm
↑ Summary
blib/lib/auto/share/dist/Cmd-Dwarf/app/lib/Dwarf/Test/Controller/Api/Ping.pm »
| 1 | package Dwarf::Test::Config::Production; | ||
| 2 | use Dwarf::Pragma; | ||
| 3 | use parent 'Dwarf::Config'; | ||
| 4 | |||
| 5 | sub setup { | ||
| 6 | my $self = shift; | ||
| 7 | return ( | ||
| 8 | ssl => 1, | ||
| 9 | url => { | ||
| 10 | base => 'http://dwarf.com', | ||
| 11 | ssl_base => 'https://dwarf.com', | ||
| 12 | }, | ||
| 13 | db => { | ||
| 14 | master => { | ||
| 15 | dsn => 'dbi:Pg:dbname=dwarf', | ||
| 16 | username => 'www', | ||
| 17 | password => '', | ||
| 18 | opts => { pg_enable_utf8 => 1 }, | ||
| 19 | }, | ||
| 20 | }, | ||
| 21 | session => { | ||
| 22 | store => { | ||
| 23 | table => 'sessions', | ||
| 24 | }, | ||
| 25 | state => { | ||
| 26 | name => 'dwarf_sid', | ||
| 27 | }, | ||
| 28 | }, | ||
| 29 | filestore => { | ||
| 30 | private => { | ||
| 31 | dir => $self->c->base_dir . "/filestore", | ||
| 32 | uri => "/filestore", | ||
| 33 | }, | ||
| 34 | public => { | ||
| 35 | dir => $self->c->base_dir . "/../htdocs/filestore", | ||
| 36 | uri => "/filestore", | ||
| 37 | }, | ||
| 38 | }, | ||
| 39 | app => { | ||
| 40 | facebook => { | ||
| 41 | id => '', | ||
| 42 | secret => '', | ||
| 43 | }, | ||
| 44 | twitter => { | ||
| 45 | id => '', | ||
| 46 | secret => '', | ||
| 47 | } | ||
| 48 | }, | ||
| 49 | ); | ||
| 50 | } | ||
| 51 | |||
| 52 | 1; | ||
| 53 |