# Copyright (c) 2001 bivio Software, Inc. All rights reserved. # $Id: petshop.bconf,v 1.6 2008/10/14 22:08:15 nagler Exp $ # # Sample petshop.bconf. You'll need to supply the real database # info in the Bivio::Ext::DBI section. # use strict; use Bivio::PetShop::BConf; Bivio::PetShop::BConf->dev(8888, { 'Bivio::Ext::DBI' => { # Configure your database here. database => 'pet', user => 'petuser', password => 'petpass', connection => 'Bivio::SQL::Connection::Postgres', # note: to use an Oracle database # connection => 'Bivio::SQL::Connection::Oracle', # oracle_home => '/usr/local/oracle/product/8.1.6', }, 'Bivio::IO::Trace' => { # If you uncomment this line, you'll see lots of debugging output. # See Bivio::IO::Trace for more details # package_filter => '/Bivio/', # You can trace specific things, e.g. to see what views are being # executed. The package_filter is used for efficiency. The # call_filter is not executed if the package_filter fails. # package_filter => '/UI::View/', # call_filter => '$sub =~ /View::execute/', }, 'Bivio::Die' => { # Set to 1 to see the stack on Bivio::Die->die or CORE::die stack_trace_error => 0, }, 'Bivio::IO::Alert' => { # Set to 1 to see the stack on CORE::warn stack_trace_warn => 0, }, 'Bivio::Test::Language::HTTP' => { home_page_uri => 'http://localhost:8888', }, });