In order to create the sample database run 
examples/dbi/create_sample.pl
examples/dbix_class/lib/My/DB.pm
package My::DB;
use strict;
use warnings;

our $VERSION = '0.01';

use base qw/DBIx::Class::Schema/;

__PACKAGE__->load_classes();

1;