Created
May 20, 2011 15:02
-
-
Save ranguard/983093 to your computer and use it in GitHub Desktop.
Gitalist app.psgi example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use strict; | |
BEGIN { | |
# directory containing clones | |
$ENV{GITALIST_REPO_DIR} = "./"; | |
} | |
use Gitalist; | |
use Plack::Builder; | |
Gitalist->setup_engine('PSGI'); | |
my $app = sub { Gitalist->run(@_) }; | |
builder { $app }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment