% sledge-setup ThinkIT mkdir ThinkIT mkdir ThinkIT/Config Initial setup for ThinkIT is now finished. Remember: 1) Edit ThinkIT/Config/_common.pm 2) Make session table. Thanks for using Sledge! - Sledge development team
$C{DATASOURCE} = [ 'dbi:mysql:thinkit;host=dbhost', 'user', 'password' ];
package ThinkIT::Data::Base; use strict; use base qw(Class::DBI); use ThinkIT::Config; __PACKAGE__->set_db(Main => ThinkIT::Config->instance->DATASOURCE); 1; __END__