use Jellybean::App; my $webroot = '/path/to/your/web/files'; my $app = Jellybean::App->new( HTTP => { LocalPort => 5000 }, contains => { default => { type => 'File', basedir => $webroot, }, }, ); $app->loop();